Skip to main content
Version: 2.25.2

Manually setting feature control points

Aperture Python SDK can be used to manually set feature control points within a Python service.

To do so, first create an instance of ApertureClient:


You can create an API key for your project in the Aperture Cloud UI. For detailed instructions on locating API Keys, please refer to the API Keys section.

The created instance can then be used to start a flow:

You can also use the flow as a context manager:

Additionally, you can decorate any function with aperture client. This will skip running the function if the flow is rejected by Aperture Agent. This might be helpful to handle specific routes in your service.

For more context on using the Aperture Python SDK to set feature control points, refer to the example app available in the repository.