|
7 | 7 | Please go through each entry in the below checklist and mark an 'X' if that condition has been met. Every entry should be marked with an 'X' to be get the Pull Request approved.
|
8 | 8 |
|
9 | 9 |
|
10 |
| -- [ ] All `import`s are in the first cell? First block of imports are standard libraries, second block are 3rd party libraries, third block are all `arcgis` imports? Note that in some cases, for samples, it is a good idea to keep the imports next to where they are used, particularly for uncommonly used features that we want to highlight. |
| 10 | +- [ ] All `import`s are in the first cell? |
| 11 | + - [ ] First block of imports are standard libraries |
| 12 | + - [ ] Second block are 3rd party libraries |
| 13 | + - [ ] Third block are all `arcgis` imports? Note that in some cases, for samples, it is a good idea to keep the imports next to where they are used, particularly for uncommonly used features that we want to highlight. |
11 | 14 | - [ ] All `GIS` object instantiations are one of the following?
|
12 | 15 | - `gis = GIS()`
|
13 |
| - - `gis = GIS('home')` |
| 16 | + - `gis = GIS('home')` or `gis = GIS('pro')` |
14 | 17 | - `gis = GIS(profile="your_online_portal")`
|
15 | 18 | - `gis = GIS('https://pythonapi.playground.esri.com/portal')`
|
16 | 19 | - `gis = GIS(profile="your_enterprise_portal")`
|
17 | 20 | - [ ] If this notebook requires setup or teardown, did you add the appropriate code to `./misc/setup.py` and/or `./misc/teardown.py`?
|
18 |
| -- [ ] If this notebook references any portal items that need to be staged on AGOL/Python API playground, did you coordinate with a Python API team member to stage the item the correct way with the api\_data\_owner user? |
19 |
| -- [ ] Code refactored & split out across multiple cells, useful comments? |
| 21 | +- [ ] If this notebook references any portal items that need to be staged on AGOL/Python API playground, did you coordinate with a Python API team member to stage the item the correct way with the `api_data_owner` user? |
| 22 | +- [ ] If the notebook requires working with local data (such as CSV, FGDB, SHP, Raster files), upload the files as items to the [Geosaurus Online Org](geosaurus.maps.arcgis.com/) using `api_data_owner` account and change the notebook to first download and unpack the files. |
| 23 | +- [ ] Code simplified & split out across multiple cells, useful comments? |
20 | 24 | - [ ] Consistent voice/tense/narrative style? Thoroughly checked for typos?
|
21 | 25 | - [ ] All images used like `<img src="base64str_here">` instead of `<img src="https://some.url">`? All map widgets contain a static image preview? (Call `mapview_inst.take_screenshot()` to do so)
|
22 | 26 | - [ ] All file paths are constructed in an OS-agnostic fashion with `os.path.join()`? (Instead of `r"\foo\bar"`, `os.path.join(os.path.sep, "foo", "bar")`, etc.)
|
23 |
| -- [ ] **IF YOU WANT THIS SAMPLE TO BE DISPLAYED ON THE DEVELOPERS.ARCGIS.COM WEBSITE**, ping @ DavidJVitale so he can add it to the list for the next deploy |
| 27 | +- [ ] **IF YOU WANT THIS SAMPLE TO BE DISPLAYED ON THE DEVELOPERS.ARCGIS.COM WEBSITE**, ping @ mohi9282 so he can add it to the list for the next deploy |
0 commit comments