mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 00:04:01 +02:00
code cleanup, presentation on data extraction
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -49,7 +49,6 @@ class MongoEntryTransformer:
|
||||
@staticmethod
|
||||
def transform_ingoing(news: News) -> dict:
|
||||
transport_object = news.dict()
|
||||
print(transport_object)
|
||||
transport_object["_id"] = news.id
|
||||
del transport_object["id"]
|
||||
return transport_object
|
||||
|
Reference in New Issue
Block a user