Skip to content

Minor comments on #10 #25

Description

@elainethale

Apologies for taking a look at #10 so late. Overall, awesome job!

I just have a few minor comments:

  • Since the class in src/stride/api/__init__.py is the "STRIDE UI Data API" (or arguably, just the "STRIDE Data API"), would it make sense for it to live in src/stride/api/data.py? And maybe the class should be DataAPIClient?
  • Rename energy_proj_table to energy_projection_table?
  • Instructions for initializing APIClient could be more specific in describing where the database.db and project config live within the STRIDE project files.
  • Use handle_stride_exception in the data API when raising errors for the user to deal with, per https://github.com/dsgrid/stride/pull/10/files#r2280931095
  • Move src/stride/ui/TODO.md to a git issue (or an issue per TODO)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions