Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
cec2e04
make sdk modular
Jul 16, 2025
0bcbe6b
merge with main
Jul 16, 2025
507eaea
fix ci and code review comment
QeyCoder Jul 21, 2025
072aa2e
test cases
gaurav-vio Sep 8, 2025
39874db
merge;
gaurav-vio Sep 8, 2025
575a276
remove
gaurav-vio Sep 8, 2025
4f2acee
ci
gaurav-vio Sep 12, 2025
e66e1b0
keyframe
gaurav-vio Sep 16, 2025
a73af53
create project and template with sdk;
gaurav-vio Sep 16, 2025
ce352ef
client
gaurav-vio Sep 16, 2025
eaf51ec
merge master
gaurav-vio Sep 22, 2025
4ce3a22
Merge remote-tracking branch 'origin/main' into feature/LABIMP-7329-i…
gaurav-vio Sep 22, 2025
ee081e1
Merge remote-tracking branch 'origin/main' into feature/LABIMP-7570-d…
gaurav-vio Sep 23, 2025
255bd1f
connection list, save and test
gaurav-vio Sep 23, 2025
dbd387e
aws creds saves
gaurav-vio Sep 23, 2025
72f1504
test cases for aws
gaurav-vio Sep 23, 2025
aa2d795
improve formatting and fix linting
gaurav-vio Sep 23, 2025
141ff01
improve formatting and fix linting
gaurav-vio Sep 23, 2025
5934a43
ci fix
gaurav-vio Sep 23, 2025
f43d8ca
ci fix
gaurav-vio Sep 23, 2025
b33b53a
ci fix
gaurav-vio Sep 23, 2025
ea0e0a0
add aws cred to env
gaurav-vio Sep 24, 2025
469069b
change for connector
gaurav-vio Oct 3, 2025
4b8ecec
Merge remote-tracking branch 'origin/main' into feature/LABIMP-7661-c…
gaurav-vio Oct 3, 2025
577e9ad
pydantic and test cases changes
gaurav-vio Oct 4, 2025
cbd82c5
merge methods
gaurav-vio Oct 7, 2025
dcc6003
pr comment
gaurav-vio Oct 7, 2025
4582fa1
fix structure and lint
gaurav-vio Oct 8, 2025
877da30
remove mocking ;
gaurav-vio Oct 9, 2025
46ce811
fix tests
gaurav-vio Oct 9, 2025
0bb0c6d
fix tests
gaurav-vio Oct 9, 2025
19a5644
change tests
gaurav-vio Oct 9, 2025
31e3474
update param for client_id
gaurav-vio Oct 9, 2025
b9d24d7
update dataset id
gaurav-vio Oct 9, 2025
681e18e
update tests
gaurav-vio Oct 9, 2025
cee2b98
update infinite wait
gaurav-vio Oct 10, 2025
9177b95
update infinite wait
gaurav-vio Oct 10, 2025
6e2556d
bulk export
gaurav-vio Oct 16, 2025
4b23dc6
sync operation
gaurav-vio Oct 20, 2025
6bc25cd
rebase with ximi refactor
gaurav-vio Oct 21, 2025
0c422cb
add errors
gaurav-vio Oct 21, 2025
3132adb
rebase with ximi refactor
gaurav-vio Oct 22, 2025
4850d74
refactor
gaurav-vio Oct 22, 2025
f7fdf0c
fix tests
gaurav-vio Oct 22, 2025
800dda9
fix tests
gaurav-vio Oct 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ wheels/
.env
.DS_Store
.claude

# Test data
tests/test_data
download
labellerr/__pycache__/
env.dev
env.dev
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,10 @@ The Labellerr SDK uses **class-level decorators** to automatically apply logging

### Benefits

**No Boilerplate**: You don't need to add logging or error handling code in every method
**Consistency**: All methods follow the same logging pattern
**Maintainability**: Changes to logging or error handling are centralized
**Debugging**: Comprehensive logs help troubleshoot issues quickly
**No Boilerplate**: You don't need to add logging or error handling code in every method
**Consistency**: All methods follow the same logging pattern
**Maintainability**: Changes to logging or error handling are centralized
**Debugging**: Comprehensive logs help troubleshoot issues quickly

### How It Works

Expand Down
9 changes: 4 additions & 5 deletions driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from labellerr.client import LabellerrClient
from labellerr.core.datasets import LabellerrDataset
import os

# from labellerr.core.autolabel import LabellerrAutoLabel
# from labellerr.core.autolabel.typings import TrainingRequest
from dotenv import load_dotenv
import os

from labellerr.client import LabellerrClient
from labellerr.core.datasets import LabellerrDataset

load_dotenv()

Expand Down
12 changes: 8 additions & 4 deletions labellerr/core/autolabel/base.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import uuid
from abc import ABCMeta
from ..client import LabellerrClient
from typing import TYPE_CHECKING

from .. import client_utils, constants
from .typings import TrainingRequest
from .. import constants, client_utils
import uuid

if TYPE_CHECKING:
from ..client import LabellerrClient


class LabellerrAutoLabelMeta(ABCMeta):
pass


class LabellerrAutoLabel(metaclass=LabellerrAutoLabelMeta):
def __init__(self, client: LabellerrClient):
def __init__(self, client: "LabellerrClient"):
self.client = client

def train(self, training_request: TrainingRequest):
Expand Down
5 changes: 3 additions & 2 deletions labellerr/core/autolabel/typings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import List, Optional

from pydantic import BaseModel
from typing import Optional


class Hyperparameters(BaseModel):
Expand All @@ -8,7 +9,7 @@ class Hyperparameters(BaseModel):

class TrainingRequest(BaseModel):
model_id: str
projects: Optional[list[str]] = None
projects: Optional[List[str]] = None
hyperparameters: Optional[Hyperparameters] = Hyperparameters()
slice_id: Optional[str] = None
min_samples_per_class: Optional[int] = 100
Expand Down
Loading
Loading