Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle missing keys in batch data
Trying to fix these types of errors: ``` File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2190, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1486, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.10/site-packages/flask_cors/extension.py", line 165, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/usr/local/lib/python3.10/site-packages/flask_json.py", line 340, in wrapper2 rv = f(*args, **kw) File "/usr/local/lib/python3.10/site-packages/masquerade/main.py", line 272, in geocode_addresses cleanse_text(address['attributes']['Address']), zone, out_spatial_reference KeyError: 'Address' ```
- Loading branch information