-
Notifications
You must be signed in to change notification settings - Fork 12
Parameter in api/geomance endpoint should possibly be input_file, not file #96
Comments
Specifically, the The code, though, consistently refers to it as |
@myersjustinc Did you try the API call using "input_file" instead of file? And if so, what were the results? In my tests, any incantation of the api call was failing at the previous line where the JSON is deserialized (see stack trace below), which makes me think this is not purely a documentation problem. Even if it is, can you post code samples of the calls you were making? I can test as well and see if the calls get farther into the stack before failing. Meantime, here's the stack trace I was getting from various API calls (please ignore the fact that it says line 54 below; that's due to a print statement i dropped into code for debugging).
|
To be clear, it's quite likely I was botching the API call signatures/construction, which is why I'm hoping you can provide some sample calls to see if they get farther into the stack. |
According to the code here, https://github.com/associatedpress/geomancer/blob/master/geomancer/api.py
a colleague and I wondered if the file param specified in the api docs should actually be input_file, since that is what the code seems to be looking for in the request.
The text was updated successfully, but these errors were encountered: