Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 10 additions & 2 deletions openapi/schemas/audience.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,8 @@
"filters",
"createdAt",
"ownerMail",
"isPublic"
"isPublic",
"isDistilling"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -791,6 +792,9 @@
},
"isPublic": {
"type": "boolean"
},
"isDistilling": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -2275,7 +2279,8 @@
"filters",
"createdAt",
"ownerMail",
"isPublic"
"isPublic",
"isDistilling"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -2308,6 +2313,9 @@
},
"isPublic": {
"type": "boolean"
},
"isDistilling": {
"type": "boolean"
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions openapi/schemas/order.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2696,6 +2696,10 @@
"blueprint": {
"$ref": "#/components/schemas/IRapidBlueprint"
},
"batchSize": {
"type": "integer",
"format": "int32"
},
"featureFlags": {
"$ref": "#/components/schemas/ListOfFeatureFlag"
}
Expand Down
4 changes: 4 additions & 0 deletions openapi/schemas/pipeline.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,10 @@
"blueprint": {
"$ref": "#/components/schemas/IRapidBlueprint"
},
"batchSize": {
"type": "integer",
"format": "int32"
},
"featureFlags": {
"$ref": "#/components/schemas/ListOfFeatureFlag"
}
Expand Down
20 changes: 18 additions & 2 deletions openapi/schemas/rapidata.filtered.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -10134,7 +10134,8 @@
"filters",
"createdAt",
"ownerMail",
"isPublic"
"isPublic",
"isDistilling"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -10167,6 +10168,9 @@
},
"isPublic": {
"type": "boolean"
},
"isDistilling": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -11637,7 +11641,8 @@
"filters",
"createdAt",
"ownerMail",
"isPublic"
"isPublic",
"isDistilling"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -11670,6 +11675,9 @@
},
"isPublic": {
"type": "boolean"
},
"isDistilling": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -15896,6 +15904,10 @@
"blueprint": {
"$ref": "#/components/schemas/IRapidBlueprint"
},
"batchSize": {
"type": "integer",
"format": "int32"
},
"featureFlags": {
"$ref": "#/components/schemas/ListOfFeatureFlag"
}
Expand Down Expand Up @@ -17856,6 +17868,10 @@
"blueprint": {
"$ref": "#/components/schemas/IRapidBlueprint"
},
"batchSize": {
"type": "integer",
"format": "int32"
},
"featureFlags": {
"$ref": "#/components/schemas/ListOfFeatureFlag"
}
Expand Down
20 changes: 18 additions & 2 deletions openapi/schemas/rapidata.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -11159,7 +11159,8 @@
"filters",
"createdAt",
"ownerMail",
"isPublic"
"isPublic",
"isDistilling"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -11192,6 +11193,9 @@
},
"isPublic": {
"type": "boolean"
},
"isDistilling": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -12662,7 +12666,8 @@
"filters",
"createdAt",
"ownerMail",
"isPublic"
"isPublic",
"isDistilling"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -12695,6 +12700,9 @@
},
"isPublic": {
"type": "boolean"
},
"isDistilling": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -16921,6 +16929,10 @@
"blueprint": {
"$ref": "#/components/schemas/IRapidBlueprint"
},
"batchSize": {
"type": "integer",
"format": "int32"
},
"featureFlags": {
"$ref": "#/components/schemas/ListOfFeatureFlag"
}
Expand Down Expand Up @@ -18881,6 +18893,10 @@
"blueprint": {
"$ref": "#/components/schemas/IRapidBlueprint"
},
"batchSize": {
"type": "integer",
"format": "int32"
},
"featureFlags": {
"$ref": "#/components/schemas/ListOfFeatureFlag"
}
Expand Down
6 changes: 4 additions & 2 deletions src/rapidata/api_client/models/get_audience_by_id_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class GetAudienceByIdResult(BaseModel):
created_at: datetime = Field(alias="createdAt")
owner_mail: StrictStr = Field(alias="ownerMail")
is_public: StrictBool = Field(alias="isPublic")
__properties: ClassVar[List[str]] = ["id", "name", "status", "qualifiedUserCount", "filters", "logo", "createdAt", "ownerMail", "isPublic"]
is_distilling: StrictBool = Field(alias="isDistilling")
__properties: ClassVar[List[str]] = ["id", "name", "status", "qualifiedUserCount", "filters", "logo", "createdAt", "ownerMail", "isPublic", "isDistilling"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -111,7 +112,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"logo": obj.get("logo"),
"createdAt": obj.get("createdAt"),
"ownerMail": obj.get("ownerMail"),
"isPublic": obj.get("isPublic")
"isPublic": obj.get("isPublic"),
"isDistilling": obj.get("isDistilling")
})
return _obj

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import re # noqa: F401
import json

from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from rapidata.api_client.models.feature_flag import FeatureFlag
from rapidata.api_client.models.i_rapid_blueprint import IRapidBlueprint
Expand All @@ -30,8 +30,9 @@ class IOrderWorkflowModelSimpleWorkflowModel(BaseModel):
""" # noqa: E501
t: StrictStr = Field(alias="_t")
blueprint: IRapidBlueprint
batch_size: Optional[StrictInt] = Field(default=None, alias="batchSize")
feature_flags: Optional[List[FeatureFlag]] = Field(default=None, alias="featureFlags")
__properties: ClassVar[List[str]] = ["_t", "blueprint", "featureFlags"]
__properties: ClassVar[List[str]] = ["_t", "blueprint", "batchSize", "featureFlags"]

@field_validator('t')
def t_validate_enum(cls, value):
Expand Down Expand Up @@ -103,6 +104,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"_t": obj.get("_t"),
"blueprint": IRapidBlueprint.from_dict(obj["blueprint"]) if obj.get("blueprint") is not None else None,
"batchSize": obj.get("batchSize"),
"featureFlags": [FeatureFlag.from_dict(_item) for _item in obj["featureFlags"]] if obj.get("featureFlags") is not None else None
})
return _obj
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import re # noqa: F401
import json

from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
from typing import Any, ClassVar, Dict, List, Optional
from rapidata.api_client.models.feature_flag import FeatureFlag
from rapidata.api_client.models.i_rapid_blueprint import IRapidBlueprint
Expand All @@ -32,8 +32,9 @@ class IWorkflowConfigSimpleWorkflowConfig(BaseModel):
t: StrictStr = Field(alias="_t")
referee: IRefereeConfig
blueprint: IRapidBlueprint
batch_size: Optional[StrictInt] = Field(default=None, alias="batchSize")
feature_flags: Optional[List[FeatureFlag]] = Field(default=None, alias="featureFlags")
__properties: ClassVar[List[str]] = ["_t", "referee", "blueprint", "featureFlags"]
__properties: ClassVar[List[str]] = ["_t", "referee", "blueprint", "batchSize", "featureFlags"]

@field_validator('t')
def t_validate_enum(cls, value):
Expand Down Expand Up @@ -109,6 +110,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"_t": obj.get("_t"),
"referee": IRefereeConfig.from_dict(obj["referee"]) if obj.get("referee") is not None else None,
"blueprint": IRapidBlueprint.from_dict(obj["blueprint"]) if obj.get("blueprint") is not None else None,
"batchSize": obj.get("batchSize"),
"featureFlags": [FeatureFlag.from_dict(_item) for _item in obj["featureFlags"]] if obj.get("featureFlags") is not None else None
})
return _obj
Expand Down
6 changes: 4 additions & 2 deletions src/rapidata/api_client/models/query_audiences_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class QueryAudiencesResult(BaseModel):
created_at: datetime = Field(alias="createdAt")
owner_mail: StrictStr = Field(alias="ownerMail")
is_public: StrictBool = Field(alias="isPublic")
__properties: ClassVar[List[str]] = ["id", "name", "status", "qualifiedUserCount", "filters", "logo", "createdAt", "ownerMail", "isPublic"]
is_distilling: StrictBool = Field(alias="isDistilling")
__properties: ClassVar[List[str]] = ["id", "name", "status", "qualifiedUserCount", "filters", "logo", "createdAt", "ownerMail", "isPublic", "isDistilling"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -111,7 +112,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"logo": obj.get("logo"),
"createdAt": obj.get("createdAt"),
"ownerMail": obj.get("ownerMail"),
"isPublic": obj.get("isPublic")
"isPublic": obj.get("isPublic"),
"isDistilling": obj.get("isDistilling")
})
return _obj

Expand Down