HumanSignal / label-studio-sdk

Label Studio SDK
https://api.labelstud.io
Apache License 2.0
99 stars 61 forks source link

Allow `model_version` to be set during project.create via sdk (it is possible via api) #266

Closed pppmlt closed 1 month ago

pppmlt commented 3 months ago

Hi,

the API for project creation allows to set model_version when creating a project [1]. In the SDK this is not possible atm [2]. Can this be added? (It does work when I add it manually to the request json in the create function).

Thanks!

[1] https://labelstud.io/api#tag/Projects/operation/api_projects_create [2] https://github.com/HumanSignal/label-studio-sdk/blob/b4e48ad946c8937ab3559d84a02931670d7529e8/src/label_studio_sdk/projects/client.py#L117