Skip to content

Conversation

@CristhianMotoche
Copy link

  • chore: Set up environment
  • chore: Set up deps
  • chore: Define model
  • chore: Connect with App and get simple form
  • chore: Install pyright

Copy link

@javoweb javoweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @CristhianMotoche. This one looks great! I left some minor suggestions. Please take them a look. :)

Comment on lines +64 to +66
reveal_type(get_all)

reveal_type(get_unread)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to wrap these reveal_type calls in an if TYPE_CHECKING: conditional to avoid runtime errors. WDYT?

Suggested change
reveal_type(get_all)
reveal_type(get_unread)
if TYPE_CHECKING:
reveal_type(get_all)
reveal_type(get_unread)

## Start

```
devenv shell
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to add a classical requirements.txt flow for non-Nix users. WDYT?



if __name__ == "__main__":
if len(sys.argv) > 1 and sys.argv[1] == 'db':
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add instructions about this in the README?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this file in the repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants