This file contains hidden or 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
| code_folder=./lc | |
| study_plan=150 | |
| test_folder=./tests | |
| test_file_name=test_lc.py | |
| filename_prefix=p | |
| filename_extension=py | |
| difficulty_name_easy=1_easy | |
| difficulty_name_medium=2_medium | |
| difficulty_name_hard=3_hard |
This file contains hidden or 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
| from sqlalchemy import create_engine | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.orm import sessionmaker, scoped_session | |
| import logging | |
| log = logging.getLogger(__name__) | |
| """ref: https://fastapi.tiangolo.com/tutorial/sql-databases/""" | |
| SQLALCHEMY_DATABASE_URL = "postgresql://admin:admin@localhost:5432/test_gql" |