Skip to content

Commit

Permalink
Revert collection speckle_type change (#354)
Browse files Browse the repository at this point in the history
* revert collection speckle_type change

* black
  • Loading branch information
JR-Morgan authored Nov 18, 2024
1 parent a0b39e4 commit 932838d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/specklepy/objects/other.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,19 +303,9 @@ class RevitParameter(Base, speckle_type="Objects.BuiltElements.Revit.Parameter")
isTypeParameter: bool = False


@deprecated(version="2.20", reason="Namespace changed, collectionType deprecated")
class Collection(
Base, speckle_type="Speckle.Core.Models.Collection", detachable={"elements"}
):
name: Optional[str] = None
collectionType: Optional[str] = None
elements: Optional[List[Base]] = None


class Collection( # noqa: F811
Base,
speckle_type="Speckle.Core.Models.Collections.Collection",
detachable={"elements"},
):
name: Optional[str] = None
elements: Optional[List[Base]]

0 comments on commit 932838d

Please sign in to comment.