Skip to content

Support updating for files generated from model-generate #29

Description

@tkutcher

Currently, to get any updates to a QuickBase table in the python classes you'd have to re-run model-generate which would overwrite the entire file.

Current workaround to not lose code added to generated models files is to refactor (methods, etc.) in to a separate module and you can pass the relevant QuickBaseTable as needed.

Another issue is if a field label changes then the class attribute would get overwritten potentially breaking code.

Could introduce an update command which instead of straight writing to a file, reads from the file it is going to update and only inserts new fields/reports/etc. Fixes first issue, and second issue could be addressed by just having both fields there in the class then user can manually delete the one they don't want + fix referring code.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions