Skip to content

Conversation

pydanny
Copy link
Contributor

@pydanny pydanny commented Nov 13, 2024

No description provided.

pydanny and others added 2 commits November 13, 2024 16:16
Co-authored-by: Audrey Roy Greenfeld <[email protected]>
Co-authored-by: Audrey Roy Greenfeld <[email protected]>
@jph00
Copy link
Contributor

jph00 commented Nov 21, 2024

This is a great idea. A few suggestions to make it maybe easier for folks to understand:

  • Do the initial table setup use plain SQL statements - i.e using db.q(). That way, it's more obvious I think what's going on, and you don't need the del stuff and explanation
  • Before you do any of the globals() stuff, show how to manually use db.t. and dataclass to dynamically get the table objects and classes
  • Then finally at the end explain that can be automated.

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.

2 participants