Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Dec 14, 2024
1 parent af195b1 commit 9db7c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ def main():
things = ThingsClient(ACCOUNT, initial_offset=OFFSET)

# create a project
project = TodoItem("Things Cloud Project").as_project()
project = TodoItem(title="Things Cloud Project").as_project()
things.create(project)
log.debug("created project", uuid=project.uuid)

sleep(10)
# create a todo inside project
todo = TodoItem("Try out Things Cloud")
todo = TodoItem(title="Try out Things Cloud")
todo.project = project
things.create(todo)

Expand Down

0 comments on commit 9db7c79

Please sign in to comment.