AppProject
AppProject
Bases: TemplateModel
A class that represents an app project.
Attributes:
Name | Type | Description |
---|---|---|
name |
str: The name of the model. Name should be snake_case. From TemplateModel |
|
auth_object |
AuthObject | None
|
AuthObject | None: Object that is used as authorization |
app_objects |
list[AppObject]
|
list[AppObject]: The list of app objects in the project. |
Source code in warp_fastapi\app_project.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
__init__(name, *args, auth_object=None)
Initialize the project with the given name and app objects.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name |
str
|
The name of the project. |
required |
args |
AppObject
|
AppObject: A list of app objects for the project. |
()
|
auth_object |
AuthObject | None
|
AuthObject|None: Authorization object. |
None
|
Source code in warp_fastapi\app_project.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|