-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Missing model/schema examples #72
Comments
@slaarti do you still plan to do this? |
Oh, I've been not just planning, but actively working on it since the ticket got filed, up until about last week when I kind of got burned out from having gone through multiple iterations of it and then seeing there've been more commits on Of course, I'm certainly not about to insist that other work stop or anything, so obviously I need to change up how I'm doing things to not keep running into this. I think my current plan, once I get back on the horse, is to start from a fresh branch off current |
Damn, now I feel bad. Let me know if you need any help. |
Okay, well, I went through all of the
docs/
,fastcrud/
, andtests/
directories, and compiled all of the tables and schemas that were referenced (sometimes in multiple places, but I just noted where I first saw them) and/or defined. Sometimes there are not-quite-duplicates, likeUserCreateSchema
andCreateUserSchema
, which I noted down separately but should probably be unified somehow.Item
Item
- table - defined indocs/index.md
🎉ItemSchema
- schema - defined indocs/index.md
🎉ItemCreateSchema
- schema - defined indocs/index.md
🎉ItemUpdateSchema
- schema - defined indocs/index.md
🎉Order
Order
- table - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗OrderModel
- table - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗OrderSchema
- schema - ref'd indocs/usage/crud.md
- Undefined ❗OrderCreateSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗OrderReadSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗CreateOrderSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗UpdateOrderSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗Customer
Customer
- table - ref'd indocs/usage/crud.md
- Undefined ❗CustomerSchema
- schema - ref'd indocs/usage/crud.md
- Undefined ❗Project
Project
- table - defined intests/*/conftest.py
🎉ProjectSchema
- schema - ref'd indocs/advanced/crud.md
- Undefined ❗Participant
Participant
- table - defined intests/*/conftest.py
🎉User
User
- table - incompletely defined indocs/advanced/joins.md
UserModel
- table - ref'd indocs/advanced/crud.md
- Undefined ❗UserSchema
- schema - ref'd indocs/advanced/crud.md
- Undefined ❗UserCreateSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗UserUpdateSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗UserReadSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗CreateUserSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗UpdateUserSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗Tier
Tier
- table - defined indocs/advanced/joins.md
TierModel
- table - defined intests/*/conftest.py
🎉TierSchema
- schema - ref'd indocs/advanced/crud.md
- Undefined ❗Tier
andTierModel
are nearly identical, except thatTierModel
has a field relating it to theModelTest
table; are they supposed to be the same? There's also aTierSchemaTest
in theconftest.py
files; shouldTierSchema
be renamed to this?Department
Department
- table - ref'd indocs/advanced/crud.md
- Undefined ❗DepartmentSchema
- schema - ref'd indocs/advanced/crud.md
- Undefined ❗Task
Task
- table - ref'd indocs/advanced/crud.md
- Undefined ❗TaskModel
- table - ref'd indocs/advanced/crud.md
- Undefined ❗TaskSchema
- schema - ref'd indocs/advanced/crud.md
- Undefined ❗TaskCreateSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗CreateTaskSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗UpdateTaskSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗MyModel
MyModel
- table - defined indocs/advanced/endpoint.md
🎉CreateMyModel
- schema - ref'd indocs/advanced/endpoint.md
- Undefined ❗UpdateMyModel
- schema - ref'd indocs/advanced/endpoint.md
- Undefined ❗CreateMyModelSchema
- schema - ref'd indocs/advanced/endpoint.md
- Undefined ❗UpdateMyModelSchema
- schema - ref'd indocs/advanced/endpoint.md
- Undefined ❗DeleteMyModelSchema
- schema - ref'd indocs/advanced/endpoint.md
- Undefined ❗Role
Role
- table - ref'd indocs/advanced/joins.md
- Undefined ❗Product
Product
- table - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗ProductModel
- table - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗ProductCreateSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗ProductReadSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗CreateProductSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗UpdateProductSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗DeleteProductSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗Comment
Comment
- table - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗CommentCreateSchema
- schema - ref'd infastcrud/crud/fast_crud.py
- Undefined ❗ModelTest
ModelTest
- table - defined intests/*/conftest.py
🎉Booking
BookingModel
- table - defined intests/*/conftest.py
🎉BookingSchema
- schema - defined intests/*/conftest.py
🎉Customer
CustomerModel
- table - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗CreateCustomerSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗UpdateCustomerSchema
- schema - ref'd infastcrud/endpoint/crud_router.py
- Undefined ❗OtherModel
OtherModel
- table - ref'd infastcrud/endpoint/endpoint_creator.py
- Undefined ❗CreateOtherModel
- schema - ref'd infastcrud/endpoint/endpoint_creator.py
- Undefined ❗UpdateOtherModel
- schema - ref'd infastcrud/endpoint/endpoint_creator.py
- Undefined ❗Originally posted by @slaarti in #68 (comment)
The text was updated successfully, but these errors were encountered: