Skip to content

Migrate to Adaptive Card 1.3 Version #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 28, 2024
Merged
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
68 changes: 51 additions & 17 deletions src/webexpythonsdk/models/cards/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Webex Adaptive Cards data models.
"""Webex Adaptive Card - Init File.

Copyright (c) 2016-2024 Cisco and/or its affiliates.

Expand All @@ -21,30 +21,64 @@
SOFTWARE.
"""

from .adaptive_card_component import AdaptiveCardComponent
from .card import AdaptiveCard
from .components import (
Choice,
Column,
Fact,
from webexpythonsdk.models.cards.adaptive_card_component import (
AdaptiveCardComponent
)
from webexpythonsdk.models.cards.cards import (
AdaptiveCard
)
from webexpythonsdk.models.cards.card_elements import (
TextBlock,
Image,
Media,
MediaSource,
TextBlock,
RichTextBlock,
TextRun,
)
from .container import ColumnSet, Container, FactSet, ImageSet
from .inputs import Choices, Date, Number, Text, Time, Toggle
from .options import (
BlockElementHeight,
ChoiceInputStyle,
Colors,
ContainerStyle,
from webexpythonsdk.models.cards.containers import (
ActionSet,
Container,
ColumnSet,
Column,
FactSet,
Fact,
ImageSet,
)
from webexpythonsdk.models.cards.actions import (
OpenUrl,
Submit,
ShowCard,
ToggleVisibility,
TargetElement,
)
from webexpythonsdk.models.cards.inputs import (
Text,
Number,
Date,
Time,
Toggle,
ChoiceSet,
Choice,
)
from webexpythonsdk.models.cards.types import (
BackgroundImage,
)
from webexpythonsdk.models.cards.options import (
AbstractOption,
FontSize,
FontType,
FontWeight,
Colors,
BlockElementHeight,
VerticalContentAlignment,
HorizontalAlignment,
Spacing,
ImageSize,
ImageStyle,
Spacing,
ContainerStyle,
TextInputStyle,
VerticalContentAlignment,
ChoiceInputStyle,
ActionStyle,
AssociatedInputs,
ImageFillMode,
)
Loading