We welcome contributions to OPA-python-client
Feel free to submit issues and enhancement requests.
Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work
- Submit a Pull request so that we can review your changes
$ docker run -it --rm -p 8181:8181 openpolicyagent/opa run --server --addr :8181
$ pytestIntegration tests require a running OPA server. The client supports both OPA 0.x and OPA 1.0+; legacy v0 Rego policies are auto-upgraded on upload when needed.
To run OPA in legacy v0 mode instead, add --v0-compatible to the docker command.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!