Skip to content

Commit

Permalink
removed deprecated decorator since causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kcartier-wri committed Aug 24, 2024
1 parent 4a4b4ad commit e2437b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions city_metrix/layers/landsat_collection_2.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import odc.stac
import pystac_client
from jupyterlab.utils import deprecated

from .layer import Layer

@deprecated

class LandsatCollection2(Layer):
def __init__(self, bands, start_date="2013-01-01", end_date="2023-01-01", **kwargs):
super().__init__(**kwargs)
Expand Down
3 changes: 1 addition & 2 deletions city_metrix/layers/sentinel_2_level_2.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import odc.stac
import pystac_client
from jupyterlab.utils import deprecated

from .layer import Layer

@deprecated

class Sentinel2Level2(Layer):
def __init__(self, bands, start_date="2013-01-01", end_date="2023-01-01", **kwargs):
super().__init__(**kwargs)
Expand Down

0 comments on commit e2437b0

Please sign in to comment.