diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index faf0bca..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "type": "austin", - // "file": "src/palletjack/_rest_testing.py", - "args": [ - "python", - "src/palletjack/_rest_testing.py" - ], - "label": "Profile _rest_testing.py", - "command": [ - "conda", - "activate", - "palletjack", - "&&", - ] - } - ] -} diff --git a/setup.py b/setup.py index 072c27f..078f6d4 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,6 @@ ], extras_require={ 'tests': [ - 'austin-dist==3.6.*', 'pdoc3==0.10.*', 'pylint-quotes==0.2.*', 'pylint>=2.15,<3.1', diff --git a/src/palletjack/extract.py b/src/palletjack/extract.py index 8d2b520..9106b36 100644 --- a/src/palletjack/extract.py +++ b/src/palletjack/extract.py @@ -580,7 +580,6 @@ def __init__(self, service_url, timeout=5): self._class_logger = logging.getLogger(__name__).getChild(self.__class__.__name__) - @profile def get_features(self, service_layer, chunk_size=100): """Download the features from a ServiceLayer by unique ID in chunk_size-limited requests. @@ -834,7 +833,6 @@ def get_object_ids(self): return oids - @profile def get_unique_id_list_as_dataframe(self, unique_id_field, unique_id_list): """Use a REST query to download specified features from a MapService or FeatureService layer. @@ -865,7 +863,6 @@ def get_unique_id_list_as_dataframe(self, unique_id_field, unique_id_list): try: fs = arcgis.features.FeatureSet.from_json(response.text) features_df = fs.sdf.sort_values(by=unique_id_field) - # features_df = arcgis.features.FeatureSet.from_json(response.text).sdf.sort_values(by=unique_id_field) except ujson.JSONDecodeError as error: raise RuntimeError('Could not parse chunk features from response') from error