Skip to content

Commit

Permalink
Merge branch 'main' into autosync
Browse files Browse the repository at this point in the history
  • Loading branch information
tulinev authored Feb 25, 2021
2 parents df3df33 + 0bcee1d commit 06d4b45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/project/template_builder/conditions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import List, Any, Dict
from typing import List, Any

from .base import BaseComponent, ComponentType, VersionedBaseComponent, base_component_or

Expand Down Expand Up @@ -46,7 +46,7 @@ class RequiredConditionV1(BaseConditionV1, spec_value=ComponentType.CONDITION_RE

class SchemaConditionV1(BaseConditionV1, spec_value=ComponentType.CONDITION_SCHEMA):
data: base_component_or(Any)
schema: Dict # TODO: support base_component_or(Dict)
schema: dict # TODO: support base_component_or(Dict)


class SubArrayConditionV1(BaseConditionV1, spec_value=ComponentType.CONDITION_SUB_ARRAY):
Expand Down
1 change: 1 addition & 0 deletions src/client/project/template_builder/fields.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ class FileFieldV1(BaseFieldV1):
If a user logs in from a mobile device, it's more convenient to use field.media-file — it's adapted for mobile
devices and makes it easier to upload photos and videos.
Attributes:
data: Data with values that will be processed or changed.
label: Label above the component.
Expand Down

0 comments on commit 06d4b45

Please sign in to comment.