v7labs / darwin-py

Library and commandline tool for managing datasets on darwin.v7labs.com
MIT License
115 stars 42 forks source link

Fixed bug when importing annotations with properties to non-default teams #813

Closed JBWilkie closed 4 months ago

JBWilkie commented 4 months ago

Problem

When importing annotations with properties to a non-default team, a codepath is invoked that creates a client object that is always for the default team as per the config.yaml file. This results in an authorization error for non-default teams

Solution

Create a client object that is for the team containing the target dataset

Changelog

Fixed a bug when importing annotations to non-default teams

linear[bot] commented 4 months ago

DAR-1577 BUG: Properties cannot be imported to non-default teams using darwin-py