Skip to content

Commit

Permalink
remove int
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Mar 4, 2025
1 parent 37ec051 commit cd8d1d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
Literal,
Optional,
Tuple,
TypeAlias,
Union,
get_args,
)
Expand All @@ -18,6 +17,7 @@
import yaml
from pydantic import BaseModel, Field, root_validator, validator
from ruamel.yaml import YAML
from typing_extensions import TypeAlias

import datahub.metadata.schema_classes as models
from datahub.api.entities.structuredproperties.structuredproperties import AllowedTypes
Expand Down Expand Up @@ -90,7 +90,7 @@ class Config:


# Define type aliases for the complex types
PropertyValue: TypeAlias = Union[float, int, str]
PropertyValue: TypeAlias = Union[float, str]
PropertyValueList: TypeAlias = List[PropertyValue]
StructuredProperties: TypeAlias = Dict[str, Union[PropertyValue, PropertyValueList]]

Expand Down

0 comments on commit cd8d1d6

Please sign in to comment.