changes Header.dump from method to attribute
This commit is contained in:
@@ -41,7 +41,6 @@ def get_sample_layers_data(elabid):
|
||||
return result
|
||||
|
||||
apikey = getpass("Paste API key here: ") # consider replacing with .env file
|
||||
header = Header(apikey)
|
||||
header = header.dump()
|
||||
header = Header(apikey).dump
|
||||
result = get_sample_layers_data(1108) # edit id at will in case of deletion of remote source
|
||||
print(json.dumps(result))
|
||||
Reference in New Issue
Block a user