Skip to content

Commit

Permalink
Change collection child type to "kind" name.
Browse files Browse the repository at this point in the history
  • Loading branch information
thetorpedodog committed Mar 3, 2023
1 parent 4027413 commit 3503461
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python-spec/src/somacore/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def create(
def add_new_collection(
self,
key: str,
cls: None = None,
kind: None = None,
*,
uri: Optional[str] = ...,
platform_config: Optional[options.PlatformConfig] = ...,
Expand All @@ -66,7 +66,7 @@ def add_new_collection(
def add_new_collection(
self,
key: str,
cls: Type[_CT],
kind: Type[_CT],
*,
uri: Optional[str] = ...,
platform_config: Optional[options.PlatformConfig] = ...,
Expand All @@ -77,7 +77,7 @@ def add_new_collection(
def add_new_collection(
self,
key: str,
cls: Optional[Type["BaseCollection"]] = None,
kind: Optional[Type["BaseCollection"]] = None,
*,
uri: Optional[str] = None,
platform_config: Optional[options.PlatformConfig] = None,
Expand Down

0 comments on commit 3503461

Please sign in to comment.