The GeoAccessor documentation mentions the to_table accepts additional keywords **kwargs. Is there any further documentation on what the kwargs are? Thank you. Tyler
from https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#geoaccessor
Solved! Go to Solution.
If you go into the module files, particularly /features/geo/_accessor.py, you can find the function defined there. The only keyword not given explicitly in the def line is sanitize_columns, so it seems the keywords are all documented in the page in your screenshot.
def to_table(self, location, overwrite=True, **kwargs):
# rest of stuff goes here
**{
"geo": self,
"location": location,
"overwrite": overwrite,
"sanitize_columns": sanitize_columns,
},
If you go into the module files, particularly /features/geo/_accessor.py, you can find the function defined there. The only keyword not given explicitly in the def line is sanitize_columns, so it seems the keywords are all documented in the page in your screenshot.
def to_table(self, location, overwrite=True, **kwargs):
# rest of stuff goes here
**{
"geo": self,
"location": location,
"overwrite": overwrite,
"sanitize_columns": sanitize_columns,
},
C:\... install folder ... \bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\features\geo\_accessor.py
line 2740 just imports
from arcgis.features.geo._io.fileops import to_table
and there are no other args there other than those from the leading call
Addendum
Just because **kwargs is present in a function doesn't mean that there has to be any, it can just be a placeholder incase a function, whether directly, or passed through, might need a keyword argument (and not a positional argument)