-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
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
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
fa51656
commit 63c14b5
Showing
324 changed files
with
1,081,963 additions
and
1,079,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
from sqlalchemy import Column, Table | ||
from sqlalchemy.sql.sqltypes import INTEGER, String, VARCHAR | ||
from ..db_config.db import meta, engine | ||
from sqlalchemy.sql.sqltypes import VARCHAR | ||
|
||
from ..db_config.db import engine, meta | ||
|
||
imgs = Table('img', meta, | ||
Column('id', VARCHAR(100), primary_key=True), | ||
Column('input_path', VARCHAR(100)), | ||
Column('output_path', VARCHAR(100)), | ||
) | ||
imgs = Table( | ||
"img", | ||
meta, | ||
Column("id", VARCHAR(100), primary_key=True), | ||
Column("input_path", VARCHAR(100)), | ||
Column("output_path", VARCHAR(100)), | ||
) | ||
|
||
meta.create_all(engine) | ||
meta.create_all(engine) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
from sqlalchemy import Column, Table | ||
from sqlalchemy.sql.sqltypes import INTEGER, String | ||
from ..db_config.db import meta, engine | ||
|
||
from ..db_config.db import engine, meta | ||
|
||
users = Table('users', meta, | ||
Column('id', INTEGER(), primary_key=True), | ||
Column('name', String(255)), | ||
Column('email', String(255)), | ||
Column('password', String(255)), | ||
) | ||
users = Table( | ||
"users", | ||
meta, | ||
Column("id", INTEGER(), primary_key=True), | ||
Column("name", String(255)), | ||
Column("email", String(255)), | ||
Column("password", String(255)), | ||
) | ||
|
||
|
||
|
||
meta.create_all(engine) | ||
meta.create_all(engine) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.