Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples of using Fields and EnvAuthStrategy to developer documen…
…tation (#1056) * Add example of using fields for configuration. I have created this example based on some delving into the code and looking at examples of some of the community providers. I haven't included the IntegerField, as I couldn't get it to work properly, suggesting that I don't understand it properly, whereas I have successfully tested the TextField and MultilineTextField. * Add example of using the EnvAuthStrategy to provide API Keys * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Combined sections for API Keys and for Fields into a single section. As per review feedback, combined the two sections and examples for brevity. Also added a couple of missing imports to the example. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113 pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information