Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Jan 20, 2025

Verified

This commit was signed with the committer’s verified signature.
MilesCranmer Miles Cranmer
1 parent a2ebc41 commit ef9c9d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sqlacodegen/generators.py
Original file line number Diff line number Diff line change
@@ -1330,10 +1330,7 @@ def generate_base(self) -> None:
LiteralImport("sqlalchemy.orm", "MappedAsDataclass"),
],
declarations=[
(
f"class {self.base_class_name}(MappedAsDataclass, "
"DeclarativeBase):"
),
(f"class {self.base_class_name}(MappedAsDataclass, DeclarativeBase):"),
f"{self.indentation}pass",
],
metadata_ref=f"{self.base_class_name}.metadata",

0 comments on commit ef9c9d5

Please sign in to comment.