Source code for batemplatefs._appsubsystem
# Released under the MIT License. See LICENSE for details.
#
"""Provides the TemplateFs App-Subsystem."""
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
pass
[docs]
class TemplateFsAppSubsystem:
"""Subsystem for TemplateFs functionality in the app.
If :attr:`~batools.featureset.FeatureSet.has_python_app_subsystem`
is enabled for our feature-set, the single shared instance of this
class can be accessed as `template_fs` on the :class:`~babase.App`
instance.
"""
# Docs-generation hack; import some stuff that we likely only forward-declared
# in our actual source code so that docs tools can find it.
from typing import (Coroutine, Any, Literal, Callable,
Generator, Awaitable, Sequence, Self)
import asyncio
from concurrent.futures import Future
from pathlib import Path
from enum import Enum