I'm going through the quickstart for Python, and Pyright (default VSCode Python linter) has an issue with class inheritance when registring a workflow:
Running pyright workflow.py results in the following error:
.../workflow.py
.../workflow.py:16:26 - error: Argument of type "__class_WorkflowMeta" cannot be assigned to parameter "workflow" of type "WorkflowMeta" in function "register_workflow"
"__class_WorkflowMeta" is incompatible with "WorkflowMeta" (reportArgumentType)
1 error, 0 warnings, 0 informations
System Info
Model Name: MacBook Pro
Model Identifier: Mac15,8
Total Number of Cores: 16 (12 performance and 4 efficiency)
Memory: 64 GB
System Version: macOS 14.5 (23F79)
Secure Virtual Memory: Enabled
I'm going through the quickstart for Python, and Pyright (default VSCode Python linter) has an issue with class inheritance when registring a workflow:
Running
pyright workflow.py
results in the following error:Python Environment Info Hatchet SDK version: 0.27.1 Pyright version: .1.370 Python version: 3.11.9
System Info Model Name: MacBook Pro Model Identifier: Mac15,8 Total Number of Cores: 16 (12 performance and 4 efficiency) Memory: 64 GB System Version: macOS 14.5 (23F79) Secure Virtual Memory: Enabled