diff --git a/modelconverter/cli/types.py b/modelconverter/cli/types.py index 3ceb300..6f9e7f0 100644 --- a/modelconverter/cli/types.py +++ b/modelconverter/cli/types.py @@ -289,14 +289,6 @@ class Status(str, Enum): str, typer.Argument(help="Name of the model", show_default=False) ] -IsOwnerOption = Annotated[ - bool, - typer.Option( - help="Whether the user is the owner of the resource", - show_default=False, - ), -] - ArchitectureIDOption = Annotated[ Optional[str], typer.Option(help="The architecture ID", show_default=False), diff --git a/modelconverter/hub/__main__.py b/modelconverter/hub/__main__.py index 2abbca9..085c45e 100644 --- a/modelconverter/hub/__main__.py +++ b/modelconverter/hub/__main__.py @@ -24,7 +24,6 @@ HubVersionOption, HubVersionOptionRequired, IdentifierArgument, - IsOwnerOption, IsPublicOption, JSONOption, LicenseTypeOption, @@ -141,7 +140,6 @@ def model_ls( tasks: TasksOption = None, license_type: LicenseTypeOption = None, is_public: IsPublicOption = None, - is_owner: IsOwnerOption = True, slug: SlugOption = None, project_id: ProjectIDOption = None, luxonis_only: LuxonisOnlyOption = False, @@ -155,7 +153,6 @@ def model_ls( tasks=[task for task in tasks] if tasks else [], license_type=license_type, is_public=is_public, - is_owner=is_owner, slug=slug, project_id=project_id, luxonis_only=luxonis_only, @@ -247,7 +244,6 @@ def variant_ls( variant_slug: VariantSlugOption = None, version: HubVersionOption = None, is_public: IsPublicOption = None, - is_owner: IsOwnerOption = True, limit: LimitOption = 50, sort: SortOption = "updated", order: OrderOption = Order.DESC, @@ -257,7 +253,6 @@ def variant_ls( "modelVersions", model_id=model_id, is_public=is_public, - is_owner=is_owner, slug=slug, variant_slug=variant_slug, version=version, @@ -349,7 +344,6 @@ def instance_ls( hash: HashOption = None, status: StatusOption = None, is_public: IsPublicOption = None, - is_owner: IsOwnerOption = True, compression_level: CompressionLevelOption = None, optimization_level: OptimizationLevelOption = None, slug: SlugOption = None, @@ -374,7 +368,6 @@ def instance_ls( compression_level=compression_level, optimization_level=optimization_level, is_public=is_public, - is_owner=is_owner, slug=slug, limit=limit, sort=sort,