Skip to content

Type Fixes#15

Merged
dsp-ant merged 3 commits intomainfrom
davidsp/type-fixes
Oct 11, 2024
Merged

Type Fixes#15
dsp-ant merged 3 commits intomainfrom
davidsp/type-fixes

Conversation

@dsp-ant
Copy link
Copy Markdown
Member

@dsp-ant dsp-ant commented Oct 11, 2024

Depends on:

This removes strict typing for now. I opened an issue #14 about this. With these changes it typechecks without strict mode for now. This will allow us to create automation on top of the SDK.

We currently have 21 non strict typing issues and 112 strict typing
issues. Most of the strict ones come from generic handling.

This is the initial step to tackle the non strict errors by
ignoring strict errors and adding github actions to check for type
errors. Once this is place we move back to using strict types.
Strict pyright mode results in a lot of issues regarding non fully
determined types, due to Generics. These are some issues I came across
today. We are still far from being clean on pyright.
The request and notification method were defined as str but later
overwritten in subclasses with literals. This causes a
reportIncompatibleVariableOverride issue. We need to make method
generic.
@dsp-ant dsp-ant requested a review from jspahrsummers October 11, 2024 11:13
@dsp-ant dsp-ant changed the title Davidsp/type fixes Type Fixes Oct 11, 2024
Base automatically changed from davidsp/pyproject to main October 11, 2024 13:06
@dsp-ant dsp-ant merged commit 047b5d8 into main Oct 11, 2024
@dsp-ant dsp-ant deleted the davidsp/type-fixes branch October 11, 2024 13:06
ksteiny pushed a commit to ksteiny/python-sdk that referenced this pull request Dec 5, 2025
Fix place_first_triggers_second_order with nested JSON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants