Skip to content

Commit c46d624

Browse files
committed
Merge branch 'master' into NA/doc_user_feedback
2 parents e6ff21d + ae12068 commit c46d624

File tree

3 files changed

+64
-6
lines changed

3 files changed

+64
-6
lines changed

guide/02-api-overview/release_notes_241.ipynb

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "c1ea9231-7b0b-4e36-aed7-77c1b7a894c7",
6+
"metadata": {},
7+
"source": [
8+
"# What's new in version 2.4.1.1"
9+
]
10+
},
11+
{
12+
"cell_type": "markdown",
13+
"id": "5f206e81-771b-4684-a769-f5738d08936d",
14+
"metadata": {},
15+
"source": [
16+
"#### [`arcgis.gis`](/python/latest/api-reference/arcgis.gis.toc.html)\n",
17+
"* [`ContentManager`](/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager)\n",
18+
" * [`clone_items()`](/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items)\n",
19+
" * Fixes incorrect output when cloning *text* based items\n",
20+
" * Fixes errors when cloning content with *WKT* spatial references\n",
21+
" * Fixes `_ItemCreateException` when cloning feature layers with editor tracking enabled\n",
22+
" * **BUG-000174140** Fixes failures when cloning *Form* items created in Survey123 Connect with editor tracking enabled\n",
23+
" * **BUG-000175735** Fixes issues where *folder* and *search_existing_items* arguments were not read correctly with *StoryMap* themes\n",
24+
" * **BUG-000174859** Fixes issue when cloning previously cloned ArcGIS Enterprise items to another ArcGIS Enterprise deployment\n",
25+
" * Fixes issue when cloning *Form* items to ArcGIS on Kubernetes deployments\n",
26+
"#### [`arcgis.gis.admin`](python/latest/api-reference/arcgis.gis.admin.html)\n",
27+
"* [`Kubernetes`](/python/latest/api-reference/arcgis.gis.admin.html#kubernetes)\n",
28+
" * [`KubeServiceDirectory`](python/latest/api-reference/arcgis.gis.admin.html#kubeservicedirectory)\n",
29+
" * Fixes `AttributeError` with *folders* property preventing correct return values \n",
30+
"#### [`arcgis.features`](/python/latest/api-reference/arcgis.features.toc.html)\n",
31+
"* [`FeatureLayer`](/python/latest/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer)\n",
32+
" * [`query()`](/python/latest/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.query)\n",
33+
" * Fixes infinite looping and incorrect results when using *result_record_count* argument\n",
34+
"#### [`arcgis.apps`](/python/latest/api-reference/arcgis.apps.html)\n",
35+
"* [`arcgis.apps.itemgraph`](/python/latest/api-reference/arcgis.apps.itemgraph.html)\n",
36+
" * [`create_dependency_graph()`](/python/latest/api-reference/arcgis.apps.itemgraph.html#create-dependency-graph)\n",
37+
" * Updates error handling for corrupted content and accommodates larger number of items\n",
38+
" * Updates internal processing to accommodate items which were incorrectly not written to output\n",
39+
" * Fixes incorrect inclusion of items outside an organization for various graphs\n",
40+
" * [`import_list()`](/python/latest/api-reference/arcgis.apps.itemgraph.html#import-list)\n",
41+
" * Fixes error when importing *views* based on previously published feature layers \n",
42+
"* [`arcgis.apps.survey123`](/python/latest/api-reference/arcgis.apps.survey123.html)\n",
43+
" * [`Survey`](/python/latest/api-reference/arcgis.apps.survey123.html#arcgis.apps.survey123.Survey)\n",
44+
" * [`publish()`](/python/latest/api-reference/arcgis.apps.survey123.html#arcgis.apps.survey123.Survey.publish)\n",
45+
" * Fixes `InvalidDefinition` error caused by incorrect definitions for *EditorTrackinInfo* \n",
46+
"#### [`arcgis.learn`](/python/api-reference/arcgis.learn.toc.html)\n",
47+
"* Removed the *SatlasPretrain* models from list of supported backbones for classification and detection models\n",
48+
"* [Data Preparation Methods](/python/latest/api-reference/arcgis.learn.toc.html#data-preparation-methods)\n",
49+
" * [`prepare_data()`](/python/latest/api-reference/arcgis.learn.toc.html#arcgis.learn.prepare_data)\n",
50+
" * Remove warnings regarding status for various *torchvision* namespaces\n",
51+
"* [Inferencing Methods](/python/latest/api-reference/arcgis.learn.toc.html#inferencing-methods)\n",
52+
" * [`classify_objects()`](/python/latest/api-reference/arcgis.learn.toc.html#classify-objects)\n",
53+
" * Fixes error where *threshold* is ignored when using *input_features* argument\n",
54+
" * [`classify_pixels()`](/python/latest/api-reference/arcgis.learn.toc.html#classify-pixels)\n",
55+
" * Fixes tool failure because of inability to load *HEDEdgeDetector* model\n",
56+
"* [Model Management](/python/latest/api-reference/arcgis.learn.toc.html#model-management)\n",
57+
" * [`train_model()`](/python/latest/api-reference/arcgis.learn.toc.html#arcgis.learn.train_model)\n",
58+
" * Fixes errors and failures to generate output finding learning rate and showing results in Linux environments"
59+
]
60+
},
361
{
462
"cell_type": "markdown",
563
"id": "38657f92",
@@ -700,7 +758,7 @@
700758
"name": "python",
701759
"nbconvert_exporter": "python",
702760
"pygments_lexer": "ipython3",
703-
"version": "3.11.11"
761+
"version": "3.13.2"
704762
},
705763
"toc": {
706764
"base_numbering": 1,

guide/03-the-gis/accessing-and-creating-content.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,9 +1427,9 @@
14271427
"\n",
14281428
"To create new items on your GIS, use the [`add()`](https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._content_manager.Folder.add) method on a [`Folder`](/python/api-reference/arcgis.gis.toc.html#folder) instance. You can get an individual _folder_ using the [`Folders.get()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._content_manager.Folders.get) method.\n",
14291429
"\n",
1430-
"The `add()` method accepts a dictionary containing the properties of the item to be created. The optional `file`, `text`, `url`, and `data_url` parameters accept input to add the actual content. \n",
1430+
"The `add()` method accepts a dictionary or [`ItemProperties`](https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#itemproperties) object containing the properties of the item to be created. The optional `file`, `text`, `url`, and `data_url` parameters accept input to add the actual content. \n",
14311431
"\n",
1432-
"All content you add this way is added to the authenticated user's folders. Let us connect to our Enterprise instance, add a csv file as an item and then publish a feature layer from it.\n",
1432+
"All content you add this way is added to the authenticated user's folder. Let us connect to our Enterprise instance, add a csv file as an item and then publish a feature layer from it.\n",
14331433
"\n",
14341434
"For example, set up a path to the data:\n",
14351435
"`data_path = os.path.join(r\"<your_drive>:\\\\\", \"path\", \"to\", \"data\")`"
@@ -1494,7 +1494,7 @@
14941494
"cell_type": "markdown",
14951495
"metadata": {},
14961496
"source": [
1497-
"The `add()` method returns an object of type `arcgis.gis.Item` representing the added item. In Jupyter notebook environment, you can visualize it by querying the item"
1497+
"The calling `result()` on the `add()` method returns an object of type `arcgis.gis.Item` representing the added item. In Jupyter notebook environment, you can visualize it by querying the item"
14981498
]
14991499
},
15001500
{
@@ -1539,7 +1539,7 @@
15391539
"cell_type": "markdown",
15401540
"metadata": {},
15411541
"source": [
1542-
"**Note**: You can specify most properties of an item as a dictionary to the `item_properties` parameter. Refer to the [API ref doc](https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.add) of this method for a definitive list. You could also specify an empty dictionary to this parameter, the downside is search cannot index these items efficiently if it does not have sufficient metadata information, hence that is not a good programming practice."
1542+
"**Note**: You can specify most properties of an item as a dictionary or [`ItemProperties`](https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#itemproperties) object to the `item_properties` parameter. Refer to the [API ref doc](https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.add) of this method for a definitive list. You could also specify an empty dictionary to this parameter, the downside is search cannot index these items efficiently if it does not have sufficient metadata information, hence that is not a good programming practice."
15431543
]
15441544
},
15451545
{

update_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def _stage_and_upload_item(self, entry, share_after_upload=True):
182182
log.info(f" Uploaded succeeded -> {item.homepage}")
183183
except Exception as e:
184184
self.failed_uploads.append(entry['title'])
185-
log.warn(f" Couldn't upload {entry['title']}: {e}")
185+
log.warning(f" Couldn't upload {entry['title']}: {e}")
186186
log.debug(traceback.format_exc())
187187

188188
def _infer_item_id(self, url):

0 commit comments

Comments
 (0)