When trying to import geetools within an environment that is using earthengine-api < 0.1.388 DateRange is created upon init instead of being define from scratch.
THe consequence is that we get the following error:
.nox/test/lib/python3.9/site-packages/geetools/DateRange/init.py:10: in
@register_class_accessor(ee.DateRange, "geetools")
E AttributeError: module 'ee' has no attribute 'DateRange'
When trying to import geetools within an environment that is using earthengine-api < 0.1.388 DateRange is created upon init instead of being define from scratch.
THe consequence is that we get the following error:
You cna check looking at this file in the API source code: https://github.com/google/earthengine-api/blame/cdfe00b9d862fa753d647c2788d7d0f4a56bb647/python/ee/daterange.py