AFL.automation.shared.tiled#
Shared helpers for resolving and connecting to an AFL Tiled service.
Functions
|
Return the AFL configuration directory, honoring |
|
Create a Tiled client using the configured AFL Tiled credentials. |
|
Resolve the newest Tiled server and API key from AFL global config. |
Classes
|
PurePath subclass that can make system calls. |
Exceptions
Raised when an AFL global configuration lacks a usable Tiled server. |
- exception AFL.automation.shared.tiled.TiledConfigurationError[source]#
Raised when an AFL global configuration lacks a usable Tiled server.
- AFL.automation.shared.tiled.get_afl_home(afl_home=None) → Path[source]#
Return the AFL configuration directory, honoring
AFL_HOME.
- AFL.automation.shared.tiled.resolve_tiled_config(afl_home=None) → tuple[str, str][source]#
Resolve the newest Tiled server and API key from AFL global config.
AFL’s
PersistentConfigstores a history keyed by timestamps inYY/DD/MM HH:MM:SS.ffffffformat. The newest entry that defines a non-emptytiled_serveris selected. An empty API key is valid for anonymously accessible Tiled deployments.