Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#438 Frontend type #483

Merged
merged 5 commits into from
Jan 7, 2023
Merged

#438 Frontend type #483

merged 5 commits into from
Jan 7, 2023

Conversation

jojopirker
Copy link
Contributor

Added FrontendType to database and class, also changed the readme a bit to have everything at one place

@andreaskoepf
Copy link
Collaborator

@jojopirker I think you forgot to add the file models/api_client.py ..


## Alembic

To the database run `alembic revision -m "..."` ("..." is what you did) in the `/backend` directory. Then edit the newly created file. See [here](https://alembic.sqlalchemy.org/en/latest/tutorial.html) for more information.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be alembic revision --autogenerate -m "..." ... and I think at the beginning of the sentence it should be "To create an Alembic database migration script after sql-models were modified run alembic revision --autogenerate -m "...""

@andreaskoepf
Copy link
Collaborator

Regarding pre-commit please see CONTRIBUTING.md#pre-commit

@jojopirker
Copy link
Contributor Author

I always forget pre-commit 🤦

@andreaskoepf
Copy link
Collaborator

I always forget pre-commit facepalm

Thanks for the fixes. Consider running pre-commit install in the OA dir to install the hook - then you can't forget it anymore. ;-)

Copy link
Collaborator

@andreaskoepf andreaskoepf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@andreaskoepf andreaskoepf marked this pull request as ready for review January 7, 2023 20:33
@andreaskoepf andreaskoepf requested a review from yk as a code owner January 7, 2023 20:33
@andreaskoepf andreaskoepf merged commit 5fb0121 into LAION-AI:main Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants