Skip to content
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

Add library User-Agent header #123

Merged
merged 7 commits into from
Jul 9, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
PEP8
  • Loading branch information
cmlccie committed Jul 9, 2020
commit 73757b351583bc8284df6560b1b95d92b063d412
3 changes: 2 additions & 1 deletion webexteamssdk/models/cards/adaptive_card_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import json
import enum


class AdaptiveCardComponent:
"""Base class for all Adaptive Card components.

Expand Down Expand Up @@ -65,7 +66,7 @@ def to_dict(self):
if property_value is not None:
if isinstance(property_value, enum.Enum):
property_value = str(property_value)

serialized_data[property_name] = property_value

# Recursively serialize sub-components
Expand Down