Skip to content

Commit

Permalink
Remove annotation from example
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Aug 22, 2024
1 parent b9c38b1 commit 372425e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/sql-tap.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ from my_sqlalchemy_dialect import VectorType

class CustomSQLToJSONSchema(SQLToJSONSchema):
@SQLToJSONSchema.to_jsonschema.register
def custom_number_to_jsonschema(self, column_type: Numeric) -> dict:
def custom_number_to_jsonschema(self, column_type: Numeric):
"""Override the default mapping for NUMERIC columns.
For example, a scale of 4 translates to a multipleOf 0.0001.
Expand Down

0 comments on commit 372425e

Please sign in to comment.