14 lines
507 B
Python
14 lines
507 B
Python
# myapp/api_keys/__init__.py
|
|
|
|
from flask import Blueprint
|
|
|
|
# Define the Blueprint instance for the API key management module.
|
|
# 'api_keys' is the unique name for this blueprint.
|
|
# url_prefix='/api/keys' will be prepended to all routes defined in this blueprint.
|
|
bp = Blueprint('api_keys', __name__, url_prefix='/api/keys')
|
|
|
|
# Import the routes module.
|
|
# This connects the routes defined in routes.py to the 'bp' instance.
|
|
# This import MUST come AFTER the Blueprint 'bp' is defined.
|
|
from . import ai_routes
|