You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The defaultvalue argument is supposed to be optional in getProperty, but if it's not provided I get the following error:
Traceback (most recent call last):
File "/opt/spark/jobs/pipelines/usgs-api-data/usgs_api_data_driver.py", line 31, in <module>
ingest = Ingest().execute_step()
File "/opt/spark/.local/lib/python3.9/site-packages/usgs_api_data/generated/step/ingest_base.py", line 56, in execute_step
outbound = self.execute_step_impl()
File "/opt/spark/.local/lib/python3.9/site-packages/usgs_api_data/step/ingest.py", line 44, in execute_step_impl
self.config.query_additional(),
File "/opt/spark/.local/lib/python3.9/site-packages/usgs_api_data/config/usgs_config.py", line 122, in query_additional
raw_values = self.properties.getProperty("query.additional")
File "/opt/spark/.local/lib/python3.9/site-packages/krausening/properties/property_manager.py", line 182, in getProperty
return os.path.expandvars(defaultValue)
File "/usr/local/lib/python3.9/posixpath.py", line 284, in expandvars
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The defaultvalue argument is supposed to be optional in
getProperty
, but if it's not provided I get the following error:This is the calling code:
The text was updated successfully, but these errors were encountered: