We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b388865 commit 34708f2Copy full SHA for 34708f2
pystac/collection.py
@@ -1,4 +1,4 @@
1
-from copy import copy, deepcopy
+from copy import deepcopy
2
from datetime import datetime as Datetime
3
from pystac.errors import STACTypeError
4
from typing import (
@@ -318,8 +318,8 @@ def clone(self) -> "Extent":
318
Extent: The clone of this extent.
319
"""
320
return Extent(
321
- spatial=copy(self.spatial),
322
- temporal=copy(self.temporal),
+ spatial=self.spatial.clone(),
+ temporal=self.temporal.clone(),
323
extra_fields=deepcopy(self.extra_fields),
324
)
325
0 commit comments