project.local
3 functions / 0 types
Index
| Function | Description |
|---|---|
| create | Execute the create statement. |
| delete | Execute the delete statement. |
| get_all | Execute the get_all statement. |
create
def create(
*,
name: str,
author: str,
dir: str,
_transaction_id: str | None = None
) -> types.project.LocalProjectMetaExecute the create statement.
Returns LocalProjectMeta.
name : str
The name for the project.
author : str
The author/creator of the project.
dir : str
The directory that the project will be stored in.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
delete
def delete(*, uuid: str, dir: str, _transaction_id: str | None = None) -> NoneExecute the delete statement.
Returns None.
uuid : str
The UUID for the local project to delete, in its canonical hyphenated form.
dir : str
The directory to attempt to delete the local project from.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
get_all
def get_all(
*,
dir: str,
_transaction_id: str | None = None
) -> types.project.LocalProjectListExecute the get_all statement.
Returns LocalProjectList.
dir : str
The directory to search in for local projects.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.