Esri / Esri/crowdsource-reporter-scripts

Update any edit_features()/query() call to ONLY retrieve/send edits for needed attributes

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Current calls are retrieving/sending ALL of the attributes and increasing the amount of data sent back and forth to service.

Use this pattern
```python
features = fl.query(where_clause, out_fields = [list of needed fields for attribute changes])
for feature in features:
feature.set_value("necessary field", "updated value")
fl.edit_features(updates=features)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.