feat: add automatic alembic config generation and cryptography depend…#59
Open
SidPatel151 wants to merge 1 commit intoDeepTrail:devfrom
Open
feat: add automatic alembic config generation and cryptography depend…#59SidPatel151 wants to merge 1 commit intoDeepTrail:devfrom
SidPatel151 wants to merge 1 commit intoDeepTrail:devfrom
Conversation
imaxxs
reviewed
Jun 25, 2025
| if __name__ == "__main__": | ||
| # Get the project root (assuming script is in scripts directory) | ||
| project_root = Path(__file__).parent.parent | ||
| generate_alembic_ini(str(project_root)) No newline at end of file |
Contributor
There was a problem hiding this comment.
@SidPatel151 This is interesting that you added script to dynamically add the alembic.ini file. I am wondering what was your thought here? vs just creating a new alembic.ini and using it.
Author
There was a problem hiding this comment.
I wanted to create it automatically, as at this time, I didn't notice the alembic.ini file in the gitignore. I also remember talking to you about making it autonomous to do. It's more efficient in my opinion as it creates the whole ini file for you when doing all the installations, instead oyu having to manually copy/paste it in or type one out.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds automatic Alembic configuration generation and adds the required cryptography dependency for key management operations.
Changes
generate_alembic_config.pyscript to automatically create alembic.iniWhy
Testing
docker-compose up --build -dto verify alembic.ini generationNotes