Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.aspect.build/llms.txt

Use this file to discover all available pages before exploring further.

function FeatureContext.http
def FeatureContext.http() -> Http
HTTP client for making requests during feature initialization. property FeatureContext.args
FeatureContext.args: typing.Any
Resolved args for this feature: config-only values and CLI args merged. Access via ctx.args.arg_name. property FeatureContext.aspect
FeatureContext.aspect: aspect.Aspect
Aspect platform APIs (auth, etc.). property FeatureContext.std
FeatureContext.std: std.Std
Standard library — same as ctx.std in config and task functions. property FeatureContext.telemetry
FeatureContext.telemetry: typing.Any
Telemetry handle. Use ctx.telemetry.exporters.add(url=..., ...) to register OTLP exporters that the runtime installs after phase 3. Buffered spans/logs from earlier phases are replayed to them. property FeatureContext.traits
FeatureContext.traits: typing.Any
The full mutable trait map. Inject into traits via ctx.traits[TraitType].hook.append(...).