-
Notifications
You must be signed in to change notification settings - Fork 2
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
Based on @devraj
gist build a task endpoint to eject the project from the template
#55
Comments
devraj
changed the title
Based on @devraj's gist build a task endpoint to rejec
Based on @devraj's gist build a task endpoint to eject the project from the template
Dec 12, 2022
devraj
added a commit
that referenced
this issue
Mar 6, 2023
devraj
added a commit
that referenced
this issue
Mar 6, 2023
this is a long standing feature request where you are able to use a taskfile endpoint to initialise the database. sqlalchemy uses asyncio, the following makes available a method in the package which is a asyncio wrapper for the sqlalchemy metadata create and rop methods. you can use 2023-03-06 03:42:45,317 INFO sqlalchemy.engine.Engine select pg_catalog.version() 2023-03-06 03:42:45,317 INFO sqlalchemy.engine.Engine [raw sql] () 2023-03-06 03:42:45,318 INFO sqlalchemy.engine.Engine select current_schema() 2023-03-06 03:42:45,318 INFO sqlalchemy.engine.Engine [raw sql] () 2023-03-06 03:42:45,319 INFO sqlalchemy.engine.Engine show standard_conforming_strings 2023-03-06 03:42:45,319 INFO sqlalchemy.engine.Engine [raw sql] () 2023-03-06 03:42:45,319 INFO sqlalchemy.engine.Engine BEGIN (implicit) 2023-03-06 03:42:45,320 INFO sqlalchemy.engine.Engine COMMIT to invoke this routine, which in turn uses a poetry script to run the method provided by the package. note that this has hard coded references to the labs package which will have to be cleaned by the eject script in #55 poetry is run in the container which should have the configuration variables required for the database environment
devraj
added a commit
that referenced
this issue
Apr 25, 2023
i've started an effort to formalise the stack with the realisation of #70 this setsup configtest where the fastapi test client is created and it can get the root endpoint and validate that it returns a proper body, the effort will be to maintain a set of tests for everything the base framework manages we will need to ensure that eject #55 can rewrite the namespaces so other projects are able to keep working on the tests centric to their applicaiton
devraj
added a commit
that referenced
this issue
Apr 25, 2023
…se the stack with the realisation of #70\n\nthis setsup configtest where the fastapi test client is created and it can\nget the root endpoint and validate that it returns a proper body, the effort\nwill be to maintain a set of tests for everything the base framework manages\n\nwe will need to ensure that eject #55 can rewrite the namespaces so other\nprojects are able to keep working on the tests centric to their applicaiton
devraj
changed the title
Based on @devraj's gist build a task endpoint to eject the project from the template
Based on Oct 7, 2023
@devraj
's gist build a task endpoint to eject the project from the template
devraj
changed the title
Based on
Based on Oct 7, 2023
@devraj
's gist build a task endpoint to eject the project from the template@devraj
gist build a task endpoint to eject the project from the template
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
At the moment the user still has to eject the project by:
Describe the solution you'd like
I had been maintaining a few
gists
on my own to help with this. The exercise is about formalising where I was headed with this and provide an endpoint via theTaskfile
.Note that should ensure the the user isn't accidentally performing this task.
Taskfile does support user input which should be used to ask the user for confirmation.
Describe alternatives you've considered
Not applicable, this was always the plan.
The text was updated successfully, but these errors were encountered: