-
Notifications
You must be signed in to change notification settings - Fork 4
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
use DotDict everywhere #82
Conversation
CamundaLibrary/CamundaLibrary.py
Outdated
@@ -92,7 +93,7 @@ class CamundaLibrary: | |||
EMPTY_STRING = "" | |||
KNOWN_TOPICS: Dict[str, Dict[str, Any]] = {} | |||
FETCH_RESPONSE: LockedExternalTaskDto = {} | |||
DEFAULT_LOCK_DURATION = None | |||
DEFAULT_LOCK_DURATION: int = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incompatible attribute type: Attribute DEFAULT_LOCK_DURATION
declared in class CamundaLibrary
has type int
but is used as type None
.
(at-me in a reply with help
or ignore
)
Not sure about this pull request. It was already hard enough to handle conversion from Java objects and JSON in to python DTO and collection types. Replacing python dicts with DotDict does not work everywhere. When a JSON variable contains other nested dictionaries then I do not get them converted. Looks like I need to decide between consistancy (old fashioned Dicts everywhere) or convenience (DotDict in most places, but old fashioned dicts in some other). |
won't fix |
No description provided.