|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "id": "17574565-b2a1-4a25-96d0-6a2d2f56f684", |
| 6 | + "metadata": {}, |
| 7 | + "source": [ |
| 8 | + "## Summary\n", |
| 9 | + "\n", |
| 10 | + "The 2.4.1 Release contains changes that continue to build upon the Jupyter Lab and Notebook 7.0 architecture changes implemented at 2.4.0. \n", |
| 11 | + "\n", |
| 12 | + "These modifications change how some familiar functionality is accessed, and provides some new ways to work with your Web GIS organization. Let's take a look at some of these new updates." |
| 13 | + ] |
| 14 | + }, |
| 15 | + { |
| 16 | + "cell_type": "markdown", |
| 17 | + "id": "ea6769b7-0727-4afe-b5d0-c052726e4a46", |
| 18 | + "metadata": {}, |
| 19 | + "source": [ |
| 20 | + "Primary Python Support is for version 3.11. Secondary support is provided for Python 3.10 and 3.12. We have dropped Support for Python 3.9." |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | + "cell_type": "markdown", |
| 25 | + "id": "ff163308-2526-4b3a-965b-5b430738c5f8", |
| 26 | + "metadata": {}, |
| 27 | + "source": [ |
| 28 | + "> **Note:** The ArcGIS API for Python 2.4.1 release is supported with:\n", |
| 29 | + "* ArcGIS Pro 3.5 and later default and cloned environments\n", |
| 30 | + "* ArcGIS Enterprise 11.4 and later\n", |
| 31 | + "* Stand-alone _conda_ and Python environments" |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | + "cell_type": "markdown", |
| 36 | + "id": "f49067b4-26c2-498a-abae-02e5e904897d", |
| 37 | + "metadata": {}, |
| 38 | + "source": [ |
| 39 | + "## New processing option: [`Spatially Enabled DataFrame`](/python/api-reference/arcgis.features.toc.html#geoaccessor)\n", |
| 40 | + "We've provided an environment variable called _ARCGIS_GEOMETRY_ENGINE_ that allows you to explicitly set the library used for certain spatial spatial transformations, such as reading and/or writing of shapefiles and file geodatabases. See the API Reference for the [GeoAccessor](/python/api-reference/arcgis.features.toc.html#geoaccessor) for details. Methods to which this processing applies are noted in the Reference documentation.\n", |
| 41 | + "\n", |
| 42 | + "You can set the processing environment at the top a document with:" |
| 43 | + ] |
| 44 | + }, |
| 45 | + { |
| 46 | + "cell_type": "code", |
| 47 | + "execution_count": 1, |
| 48 | + "id": "e6414cca-8b53-43c2-bb31-4135db665621", |
| 49 | + "metadata": {}, |
| 50 | + "outputs": [], |
| 51 | + "source": [ |
| 52 | + "import os\n", |
| 53 | + "os.environ[\"ARCGIS_GEOMETRY_ENGINE\"] = \"Engine_of_Choice\"" |
| 54 | + ] |
| 55 | + }, |
| 56 | + { |
| 57 | + "cell_type": "markdown", |
| 58 | + "id": "3da4c48b-3c82-490f-9b76-d2063307b56c", |
| 59 | + "metadata": {}, |
| 60 | + "source": [ |
| 61 | + "## New class: [`arcgis.gis.OfflineContentManager`](/python/api-reference/arcgis.gis.toc.html#offlinecontentmanager)" |
| 62 | + ] |
| 63 | + }, |
| 64 | + { |
| 65 | + "cell_type": "markdown", |
| 66 | + "id": "a3b59934-0694-41d2-8721-0a7bcdffa94b", |
| 67 | + "metadata": {}, |
| 68 | + "source": [ |
| 69 | + "The new [`OfflineContentManager`](/python//api-reference/arcgis.gis.toc.html#arcgis.gis.OfflineContentManager) provides functionality to package organizational content with options for defining a dependency tree, list the content of the resulting package, as well as import this content to another organization. In effect this allows cloning content in disconnected environments. This class utilizes the new _arcgis.apps.itemgraph_ module to create packages that can be used for downloading items and their dependencies for uploading items into other deployments in a disconnected environment. The [`export_items()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis.OfflineContentManager.export_items) method provides paramters to specify how items and thier dependencies are packaged and then exported to a desired location. The [`list_items()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis.OfflineContentManager.list_items) method provides access to explore the output pacakge, and the [`import_content()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis.OfflineContentManager.import_content) operation loads package contents into a desired deployment. See the API Reference for code examples." |
| 70 | + ] |
| 71 | + }, |
| 72 | + { |
| 73 | + "cell_type": "markdown", |
| 74 | + "id": "7f2716f6-cc9f-4fb6-a824-00831c01290f", |
| 75 | + "metadata": {}, |
| 76 | + "source": [ |
| 77 | + "## New capabilities: [`arcgis.gis.workflowmanager`](/python/api-reference/arcgis.gis.workflowmanager.html)\n", |
| 78 | + "The API includes new implementations for listening, receiving and sending workflow manager messages. These updates allow for step execution which allow users to run, stop and finish steps. The improved messaging allows easy viewing of progress and whether calls succeeded. See new classes:\n", |
| 79 | + " * [`ExecutionStatus`](/python/latest/api-reference/arcgis.gis.workflowmanager.html#arcgis.gis.workflowmanager.ExecutionStatus) \n", |
| 80 | + " * [`JobExecution`](/python/latest/api-reference/arcgis.gis.workflowmanager.html#arcgis.gis.workflowmanager.JobExecution)\n", |
| 81 | + " * [`MessageType`](/python/latest/api-reference/arcgis.gis.workflowmanager.html#arcgis.gis.workflowmanager.MessageType)\n", |
| 82 | + " * [`Notification`](/python/latest/api-reference/arcgis.gis.workflowmanager.html#arcgis.gis.workflowmanager.notification)" |
| 83 | + ] |
| 84 | + }, |
| 85 | + { |
| 86 | + "cell_type": "markdown", |
| 87 | + "id": "d236df3b-9f5f-4a7a-b1e4-ce23a28e2032", |
| 88 | + "metadata": {}, |
| 89 | + "source": [ |
| 90 | + "## New classes: [`arcgis.graph`](/python/api-reference/arcgis.graph.html)\n", |
| 91 | + "This module has added multiple new dataclasses to help with setting the correct syntax for functions so requests are all processed appropriately. The classes are strongly typed for input and outputs so all endpoints receive exactly what is expected. Check out the API Reference for details: \n", |
| 92 | + "* [Data Model Types](/python/api-reference/arcgis.graph.html#data-model-types)\n", |
| 93 | + "* [Graph Types](/python/api-reference/arcgis.graph.html#graph-types)\n", |
| 94 | + "* [Search Types](/python/api-reference/arcgis.graph.html#search-types)\n", |
| 95 | + "* [Response Types](/python/api-reference/arcgis.graph.html#response-types)" |
| 96 | + ] |
| 97 | + }, |
| 98 | + { |
| 99 | + "cell_type": "markdown", |
| 100 | + "id": "44159000-6f6b-473f-8243-8a2e809bc302", |
| 101 | + "metadata": {}, |
| 102 | + "source": [ |
| 103 | + "## New module: [`arcgis.apps.itemgraph`](/python/api-reference/arcgis.apps.itemgraph.html)\n", |
| 104 | + "The [`itemgraph`](/python/api-reference/arcgis.apps.itemgraph.html) submodule provides classes and functions for building a dependency graph for organizational [_Item_](/python/api-reference/arcgis.gis.toc.html#item) content. Module members can be used directly, or the [OfflineContentManager](/python/api-reference/arcgis.gis.toc.html#arcgis.gis.OfflineContentManager) can be used to utilize the functionality." |
| 105 | + ] |
| 106 | + }, |
| 107 | + { |
| 108 | + "cell_type": "markdown", |
| 109 | + "id": "10347e9f-b4b9-4dcf-855b-4cf2fc5f5426", |
| 110 | + "metadata": {}, |
| 111 | + "source": [ |
| 112 | + "### Functions\n", |
| 113 | + "\n", |
| 114 | + "* [create_dependency_graph()](/python/api-reference/arcgis.apps.itemgraph.html#arcgis.apps.itemgraph.create_dependency_graph)\n", |
| 115 | + "* [load_from_file()](/python/api-reference/arcgis.apps.itemgraph.html#arcgis.apps.itemgraph.load_from_file)" |
| 116 | + ] |
| 117 | + }, |
| 118 | + { |
| 119 | + "cell_type": "markdown", |
| 120 | + "id": "c7a09e11-2731-4b32-a260-12dceed86505", |
| 121 | + "metadata": {}, |
| 122 | + "source": [ |
| 123 | + "### Classes\n", |
| 124 | + "* [ItemGraph](/python/api-reference/arcgis.apps.itemgraph.html#arcgis.apps.itemgraph.ItemGraph)\n", |
| 125 | + "* [ItemNode](/python/api-reference/arcgis.apps.itemgraph.html#arcgis.apps.itemgraph.ItemNode)" |
| 126 | + ] |
| 127 | + } |
| 128 | + ], |
| 129 | + "metadata": { |
| 130 | + "kernelspec": { |
| 131 | + "display_name": "Python 3 (ipykernel)", |
| 132 | + "language": "python", |
| 133 | + "name": "python3" |
| 134 | + }, |
| 135 | + "language_info": { |
| 136 | + "codemirror_mode": { |
| 137 | + "name": "ipython", |
| 138 | + "version": 3 |
| 139 | + }, |
| 140 | + "file_extension": ".py", |
| 141 | + "mimetype": "text/x-python", |
| 142 | + "name": "python", |
| 143 | + "nbconvert_exporter": "python", |
| 144 | + "pygments_lexer": "ipython3", |
| 145 | + "version": "3.11.11" |
| 146 | + } |
| 147 | + }, |
| 148 | + "nbformat": 4, |
| 149 | + "nbformat_minor": 5 |
| 150 | +} |
0 commit comments