You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
"datetime" module is imported when creating a "GIS" object. This datetime import is overwriting the main code datetime import causing errors such as "AttributeError: module 'datetime' has no attribute 'strftime'"
To Reproduce
Steps to reproduce the behavior:
Run this code first to show datetime behavior without the arcgis python API:
Describe the bug
"datetime" module is imported when creating a "GIS" object. This datetime import is overwriting the main code datetime import causing errors such as "AttributeError: module 'datetime' has no attribute 'strftime'"
To Reproduce
Steps to reproduce the behavior:
Run this code first to show datetime behavior without the arcgis python API:
The output will be a datetime stamp in the specified format
Run this code second to show datetime behavior is corrupted when using the arcgis python API:
error:
Screenshots
N/A
Expected behavior
When creating an arcgis python API object, it should not corrupt my previous imports
Platform (please complete the following information):
Additional context
It appears the 'datetime' module is imported after creation of the "GIS" object.
Quick fix around this issue...
The text was updated successfully, but these errors were encountered: