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 ConfigContext.http
def ConfigContext.http() -> Http
The http attribute provides a programmatic interface for making HTTP requests. It is used to fetch data from remote servers and can be used in conjunction with other aspects to perform complex data processing tasks. Example
**Fetch** data from a remote server
data = ctx.http().get("https://example.com/data.json").block()
property ConfigContext.features
ConfigContext.features: typing.Any
Access to the feature map for configuring feature instances. Usage:
ctx.features[ArtifactUpload].enabled = False
property ConfigContext.std
ConfigContext.std: std.Std
Standard library is the foundation of powerful AXL tasks. property ConfigContext.tasks
ConfigContext.tasks: typing.Any
property ConfigContext.telemetry
ConfigContext.telemetry: typing.Any
Telemetry handle. Use ctx.telemetry.exporters.add(url=..., ...) to register OTLP exporters before any task runs. property ConfigContext.template
ConfigContext.template: Template
Expand template files. property ConfigContext.traits
ConfigContext.traits: typing.Any
Access to the trait map for configuring trait instances. Usage:
ctx.traits[BazelTrait].extra_flags = ["--config=ci"]
property ConfigContext.wasm
ConfigContext.wasm: wasm.Wasm
EXPERIMENTAL! Run wasm programs within tasks.