We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
after #1342
class DelayExtensionVertex @Property def _delay_splitter(self) -> SplitterDelayVertexSlice: if TYPE_CHECKING: return cast(SplitterDelayVertexSlice, self._splitter) else: return self._splitter
Issue is that to import a SplitterDelayVertexSlice causes circular imports the cast call actually does nothing but does please the typer
if TYPE_CHECKING is only true when tryping
keep this hack or find a better solution
The text was updated successfully, but these errors were encountered:
No branches or pull requests
after #1342
class DelayExtensionVertex
@Property
def _delay_splitter(self) -> SplitterDelayVertexSlice:
if TYPE_CHECKING:
return cast(SplitterDelayVertexSlice, self._splitter)
else:
return self._splitter
Issue is that to import a SplitterDelayVertexSlice causes circular imports
the cast call actually does nothing but does please the typer
if TYPE_CHECKING is only true when tryping
keep this hack or find a better solution
The text was updated successfully, but these errors were encountered: