<jupyter_start><jupyter_text>turn back new york<jupyter_code>fl0 = flc.layers[0]
fl0
fset = fl0.query()
feats = fset.features
fset.df
ny_feature = [f for f in feats if f.attributes['name']=='New York City'][0]
ny_feature.attributes
import copy
ny_edit = copy.deepcopy(ny_feature)
ny_edit.attributes['name'] = 'New York'
update_result = fl0.edit_features(updates=[ny_edit])
update_result<jupyter_output><empty_output><jupyter_text>turn off edit capability<jupyter_code>flc.manager.update_definition({'capabilities':'Query'})
flc.properties.capabilities<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13080895008605853, 'fraction_numerical': 0.010327022375215147, 'mean_word_length': 9.392857142857142, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '457811', 'license': 'Apache-2.0', 'n_tokens_mistral': 219, 'n_tokens_neox': 217, 'n_words': 36, 'path': 'talks/DevSummit2018/ArcGIS Python API - Advanced Scripting/features/helper.ipynb', 'repo_name': 'nitz21/arcpy', 'size': '581'}