mirror of
https://github.com/rjNemo/graphql_python_template
synced 2026-06-06 10:36:40 +00:00
6 lines
148 B
Python
6 lines
148 B
Python
from app.models.todo import Todo
|
|
from app.repositories.todos import add_todo
|
|
|
|
|
|
def create_todo(title: str = '') -> Todo:
|
|
return add_todo(title)
|