You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I noticed that the following type definitions are not available in the current version of Robyn:
• RequestMethod
• RequestBody
• RequestURL
These are mentioned in the documentation or examples, but they seem to be missing from the package. This causes type checking issues and confusion when developing with Robyn.
Steps to Reproduce
1. Use the following code snippet:
from robyn.robyn import RequestMethod, RequestBody, RequestURL
2. Run the script or check type hints in an editor (e.g., PyCharm, VS Code with type checking enabled).
Expected Behavior:
These types should be available and documented.
Actual Behavior:
Import errors occur for the above types.
Proposed Solution
Could you:
1. Add these type definitions to the library.
2. Document their expected structures (e.g., RequestMethod as Literal["GET", "POST", ...], RequestBody as Dict[str, Any], etc.).
Alternatively, if they are deprecated, it would be helpful to have updated examples or recommendations on how to handle this.
The text was updated successfully, but these errors were encountered:
Hello, I noticed that the following type definitions are not available in the current version of Robyn:
• RequestMethod
• RequestBody
• RequestURL
These are mentioned in the documentation or examples, but they seem to be missing from the package. This causes type checking issues and confusion when developing with Robyn.
Steps to Reproduce
1. Use the following code snippet:
from robyn.robyn import RequestMethod, RequestBody, RequestURL
2. Run the script or check type hints in an editor (e.g., PyCharm, VS Code with type checking enabled).
Expected Behavior:
These types should be available and documented.
Actual Behavior:
Import errors occur for the above types.
Proposed Solution
Could you:
1. Add these type definitions to the library.
2. Document their expected structures (e.g., RequestMethod as Literal["GET", "POST", ...], RequestBody as Dict[str, Any], etc.).
Alternatively, if they are deprecated, it would be helpful to have updated examples or recommendations on how to handle this.
The text was updated successfully, but these errors were encountered: