Skip to content

Commit

Permalink
Merge branch 'gu/pydantic_dataclasses' of github.com:Labelbox/labelbo…
Browse files Browse the repository at this point in the history
…x-python into gu/pydantic_dataclasses
  • Loading branch information
Gabefire committed Jan 9, 2025
2 parents 1db6a3e + 9155723 commit 7b4070c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion libs/labelbox/src/labelbox/schema/ontology.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
import json
from pydantic.dataclasses import dataclass
from dataclasses import field
import warnings
from enum import Enum
from typing import Any, Dict, List, Optional, Union
from typing import Annotated, Any, Dict, List, Optional, Type, Union
from dataclasses import field

from lbox.exceptions import InconsistentOntologyException
from pydantic import StringConstraints
from pydantic.dataclasses import dataclass

from labelbox.orm.db_object import DbObject
from labelbox.orm.model import Field, Relationship
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import warnings
from typing import Any, Dict, List, Optional
from pydantic.dataclasses import dataclass
from dataclasses import field
from enum import Enum

from labelbox.schema.tool_building.base_step_reasoning_tool import (
_BaseStepReasoningTool,
Expand Down

0 comments on commit 7b4070c

Please sign in to comment.