Skip to content

Conversation

@rileythai
Copy link

  • Successfully fetches data files during both git + local install for ads-setup CLI entrypoint
  • Creates config on first-time import if it does not exist already
  • new ADSConfig.save method (just dumps as JSON to given path)

This adds the least overhead in terms of packages, and it's a little hacky. You can make it snazzier by using the pydantic-yaml or pydantic-settings to make the config prettier, but that's your call. You could also add it to the ads-setup routine instead.

Also found the data files didn't copy properly on a git+ install. I think they need to be under the actual package (src/python).

- properly fetches data files during both git + local install for
`ads-setup`
- now creates config on first-time import if it does not exist already
- new `ADSConfig.save` method, just dumps as json to given path
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.

1 participant