Expanding a use-case's API

This page describes how to expand the API of a use-case or shared feature

circle-info

If you were looking to expand the main API please have a look at Expanding the main API

Adding a shared-feature to your API

In sandbox.py

Please add the following:

# Please add your import
from <repo_name>.urls import urls as <repo_name>_urls

...

def setup_urls():
    new_urls = [
        ...,
        # Add your URL definition
        *<repo_name>_urls
    ]

    ...

In setup.py

Please add the following:

circle-info

The package_name can be found in <repo>/setup.py

Last updated