Skip to content

Commit

Permalink
Merge pull request #269 from specklesystems/objects/collections
Browse files Browse the repository at this point in the history
Added collection object
  • Loading branch information
KatKatKateryna authored May 5, 2023
2 parents c7f5e07 + 189a584 commit 99e9f77
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/specklepy/objects/other.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,11 @@ class RevitParameter(
] = None # BuiltInParameterName or GUID for shared parameter
isShared: bool = False
isReadOnly: bool = False
isTypeParameter: bool = False
isTypeParameter: bool = False

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

0 comments on commit 99e9f77

Please sign in to comment.