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
When I was writing my Python schema I noticed that I have to use a rather verbose syntax to add comments to a schema:
x: Annotated[int, Doc("X-coordinate of the top left corner.")]
Looking at the translated TypeScript schema, this gets turned into the much cleaner
// Top left corner coordinates x: number;
I would like to be able to use native Python in-line comments, like this:
x: int # X-coordinate of the top left corner.
I think this could be implemented by scanning the source code instead of, or in addition to, passing the schema data structure.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I was writing my Python schema I noticed that I have to use a rather verbose syntax to add comments to a schema:
Looking at the translated TypeScript schema, this gets turned into the much cleaner
I would like to be able to use native Python in-line comments, like this:
I think this could be implemented by scanning the source code instead of, or in addition to, passing the schema data structure.
The text was updated successfully, but these errors were encountered: