Module licenseware.app_builder.report_components_namespace

Here we are creating the report_components_namespace that will be imported in app_builder along with the route creation functions from this package.

Use one module per route.

Expand source code
"""

Here we are creating the `report_components_namespace` that will be imported in `app_builder` along with the route creation functions from this package.

Use one module per route.

"""

from flask_restx import Namespace
from licenseware.common.constants import envs


# Here we are importing the route creation functions 
# Each function will receive the `uploads_namespace` as a first parameter followed by other parameters if needed
from .report_individual_components_namespace import get_report_individual_components_namespace


# Here we are defining the uploads namespace which will be imported in app_builder
report_components_namespace = Namespace(
    name="Report Components",
    description="Routes available for report components",
    path=envs.REPORT_COMPONENT_PATH
)

Sub-modules

licenseware.app_builder.report_components_namespace.report_individual_components_namespace