diff --git a/debugger.py b/debugger.py index f8e711b4b24e9a87c5c9938c09be3c2af86545ce..e62088d4b007a9299cc185f1a6525352f457a349 100644 --- a/debugger.py +++ b/debugger.py @@ -1,3 +1,3 @@ from geomagio.apiclient.metadata import create -create(station="BOU", category="reading") \ No newline at end of file +create(station="BOU", category="reading") diff --git a/geomagio/apiclient/metadata.py b/geomagio/apiclient/metadata.py index 272e2cd87a72811d0bc39746916861fc916558ec..0835d5ae0538e2c3bbba9c2d287e4d8b26c70a02 100644 --- a/geomagio/apiclient/metadata.py +++ b/geomagio/apiclient/metadata.py @@ -58,7 +58,7 @@ def create( endtime=UTCDateTime(endtime) if endtime else None, id=id, location=location, - metadata = input_metadata["metadata"], + metadata=input_metadata["metadata"], metadata_valid=metadata_valid, network=network, starttime=UTCDateTime(starttime) if starttime else None, @@ -125,7 +125,6 @@ def get( print(metadata[0].json()) return print([m.json() for m in metadata]) - @app.command()