Skip to content

Commit

Permalink
chore: cleanup profiling stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdadams committed Oct 23, 2023
1 parent 6b61d6b commit 1b3bd3b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
20 changes: 0 additions & 20 deletions .vscode/tasks.json

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
],
extras_require={
'tests': [
'austin-dist==3.6.*',
'pdoc3==0.10.*',
'pylint-quotes==0.2.*',
'pylint>=2.15,<3.1',
Expand Down
3 changes: 0 additions & 3 deletions src/palletjack/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1b3bd3b

Please sign in to comment.