Skip to content
Merged
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
4 changes: 1 addition & 3 deletions libraries/botbuilder-core/botbuilder/core/bot_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ def create_property(self, name: str) -> StatePropertyAccessor:
:return: If successful, the state property accessor created.
"""
if not name:
raise TypeError(
"BotState.create_property(): BotState cannot be None or empty."
)
raise TypeError("BotState.create_property(): name cannot be None or empty.")
return BotStatePropertyAccessor(self, name)

def get(self, turn_context: TurnContext) -> Dict[str, object]:
Expand Down