id
stringlengths
15
25
source
stringclasses
1 value
chunk_index
int64
0
393k
token_count
int32
449
512
content
stringlengths
203
7.95k
combine_chunk_800
combine.txt
800
512
from your checks task to ``@task.llm`` with a ``Finding`` list as ``output_type``, then ``LLMBranchOperator`` to page, file a ticket, or ignore. * **Daily incident digest.** Fetch alerts for the data interval, one ``@task.llm`` summary per service with ``.expand()``, one synthesis call, ``ApprovalOperator`` befo...
combine_chunk_801
combine.txt
801
512
questions over PDFs <ask_questions_over_pdfs> Weekly status report <weekly_status_report> Classify reviews in bulk <classify_reviews_in_bulk> Research agent with review <research_agent_with_review> Refine a draft within a budget <refine_a_draft_within_a_budget> <|file|>airflow/providers/common/ai/docs...
combine_chunk_802
combine.txt
802
512
HttpOperator`` and ``SmtpHook`` from the ``http`` and ``smtp`` providers do the download and delivery. Run it ------ 1. Install the provider with the SQL extra, plus the HTTP and SMTP providers: .. code-block:: bash pip install "apache-airflow-providers-common-ai[openai,sql]" \ "apache-airflo...
combine_chunk_803
combine.txt
803
512
file, and replace ``SURVEY_SCHEMA`` with a description of its columns; that description is what the model writes SQL against. * Change ``SCHEDULED_PROMPT`` to the question the report answers. * Swap the local-file ``DataSourceConfig`` for a warehouse connection when the data lives in a database rather than a fil...
combine_chunk_804
combine.txt
804
512
viders-standard:operators/hitl` -- ``HITLEntryOperator`` to edit the question, ``ApprovalOperator`` to sign off the report. * :doc:`../toolsets/langchain` -- the reverse direction, giving a LangChain agent tools built from Airflow connections. Run it ------ 1. Install the LangChain extra and the packages the tool...
combine_chunk_805
combine.txt
805
512
ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance ...
combine_chunk_806
combine.txt
806
512
. Run it ------ 1. Install the provider with the LlamaIndex extra (or ``langchain`` for the other variant): .. code-block:: bash pip install "apache-airflow-providers-common-ai[openai,llamaindex]" 2. Create a ``llamaindex`` connection named ``llamaindex_default`` for embedding and retrieval (see :d...
combine_chunk_807
combine.txt
807
512
python :start-after: [START example_llamaindex_10k_analysis] :end-before: [END example_llamaindex_10k_analysis] Decomposition is the step to notice: the model returns a list and the Dag maps retrieval over it, so the model decides at runtime how many tasks run, each with its own log and retries. Adapting it ...
combine_chunk_808
combine.txt
808
512
someone than to rerun a task. What this demonstrates ---------------------- * :doc:`../operators/llm_branch` -- ``LLMBranchOperator`` picks one downstream task id. * :doc:`../decision_models` -- a decision model, so the gate has a confidence to read. * :doc:`../approval_gates` -- ``on_uncertain="review"`` routes low...
combine_chunk_809
combine.txt
809
512
un`` clears the failed task instance through the REST API, ``page_oncall`` posts to your alerting provider. * Tune ``min_confidence`` per branch. A wrong page costs more than an extra rerun, so ``page_oncall`` demands more certainty. * To decide retry versus fail inside Airflow's retry loop, see :doc:`../retry_poli...
combine_chunk_810
combine.txt
810
512
1. Install the provider with the OpenAI extra. Change ``model_id`` to run the same batch on Anthropic: .. code-block:: bash pip install "apache-airflow-providers-common-ai[openai]" 2. Change ``RESULT_ROOT`` in the file to a bucket you can write to, with an object storage connection for it. 3. Trigge...
combine_chunk_811
combine.txt
811
512
ai/docs/use_cases/weekly_status_report.rst .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache ...
combine_chunk_812
combine.txt
812
512
------ 1. Install the provider. The agent variant also needs the skills extra: .. code-block:: bash pip install "apache-airflow-providers-common-ai[openai,skills]" 2. Optionally set ``GITHUB_TOKEN`` in the environment. Without it the Dag paces itself to the unauthenticated rate limit and takes longer. ...
combine_chunk_813
combine.txt
813
512
:language: python :start-after: [START aip_tracker_skills_operator] :end-before: [END aip_tracker_skills_operator] Use the pipeline when every step must be auditable. Use the agent when a fixed task graph would only re-encode what the model can work out from the skill. Adapting it ----------- * Replace the ...
combine_chunk_814
combine.txt
814
512
* :doc:`../structured_output` -- ``output_type=TicketAnalysis`` gives the downstream task a Pydantic instance, not a string to parse. * :doc:`apache-airflow:authoring-and-scheduling/dynamic-task-mapping` -- ``.expand()`` fans one model call out per ticket. Run it ------ 1. Install the provider with the extra for ...
combine_chunk_815
combine.txt
815
512
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Ask questions over a growing PDF corpus ======================================= A folder of quarterly reports kee...
combine_chunk_816
combine.txt
816
512
.py :language: python :start-after: [START howto_llamaindex_index_dag] :end-before: [END howto_llamaindex_index_dag] The query Dag ------------- .. exampleinclude:: /../../ai/src/airflow/providers/common/ai/example_dags/example_llamaindex_rag.py :language: python :start-after: [START howto_llamain...
combine_chunk_817
combine.txt
817
512
at .. http://www.apache.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific lang...
combine_chunk_818
combine.txt
818
512
quet landing zone; see :doc:`../operators/llm_schema_compare`. * Replace the ``run_etl`` placeholder with your load task and ``notify_team`` with a Slack or email notifier. * Add an :doc:`../approval_gates` step before ``run_etl`` when a compatible-but-changed schema should still get a human's confirmation. * Set...
combine_chunk_819
combine.txt
819
512
the connection, or use a vendor connection type (:doc:`connections/pydantic_ai_azure`, :doc:`connections/pydantic_ai_bedrock`, :doc:`connections/pydantic_ai_vertex`), which supply their own platform. ``Connection '...' sets 'model_provider' to '...', which is not a provider pydantic-ai recognizes`` Th...
combine_chunk_820
combine.txt
820
512
field on the primary connection or ``model_id`` on the operator. A model taken from an agent spec file cannot be wrapped in a fallback chain. See :doc:`provider_fallback`. ``Fallback connection '...' resolves to ..., which is not a PydanticAIHook`` Every entry in ``fallback_conn_ids`` must be one of the `...
combine_chunk_821
combine.txt
821
512
connections get <conn_id> -o json # confirm conn_type is 'pydanticai-azure' airflow connections delete <conn_id> airflow connections add <conn_id> --conn-type pydanticai_azure ... In the UI, edit the connection and re-pick its type. Operator construction errors ---------------------------- Th...
combine_chunk_822
combine.txt
822
512
, id=...)``. See :ref:`durable-toolset-ids`. ``durable=True needs a unique id on each toolset, but more than one toolset has the id 'orders'`` Two different toolset objects share an id, or two functions that build toolsets share a module and qualified name (two lambdas in one Dag file), so durable replay could...
combine_chunk_823
combine.txt
823
512
, because it is not JSON-serializable`` A tool returned a value that cannot be encoded as JSON, such as an object with no JSON form or a dataclass holding bytes that are not UTF-8 text. It would fail the same way on every attempt, so the task fails without retrying. Return text, numbers, bytes, lists, d...
combine_chunk_824
combine.txt
824
512
it sits among the others. Still stuck ----------- Every operator logs a post-run summary with the model name, token usage and the tool call sequence, and ``AgentOperator`` logs each tool call as it happens. Turn the task log level to ``DEBUG`` to see tool arguments and the model output. :doc:`observability` covers e...
combine_chunk_825
combine.txt
825
512
=True`` on ``AgentOperator``: .. exampleinclude:: /../../ai/src/airflow/providers/common/ai/example_dags/example_agent_durable.py :language: python :start-after: [START howto_operator_agent_durable] :end-before: [END howto_operator_agent_durable] The same flag works on ``@task.agent``: .. exampleinclude:...
combine_chunk_826
combine.txt
826
512
_agent_durable_toolsets_without_id] A tool call of a ``FunctionToolset`` without an id is recorded under the tool's name alone, ``durable_order_status__function_toolset.call_tool:get_order`` above, so a retry of the same agent finds the calls the failed attempt recorded. A function that builds a toolset, such as ``car...
combine_chunk_827
combine.txt
827
512
, and so are two functions with the same qualified name, such as two lambdas in one Dag file: .. code-block:: text ValueError: durable=True needs a unique id on each toolset, but more than one toolset has the id 'orders_dag_lambdas.<lambda>': durable replay records each tool call under its toolset's id, so a retr...
combine_chunk_828
combine.txt
828
512
. Deleting the journal is one call per entry; before 3.3 it rewrites the journal file instead, or removes it once nothing is left in it. On **Airflow before 3.3** the journal is a JSON file on ObjectStorage, and the location must be set: .. code-block:: ini [common.ai] # Local filesystem, suitable for develo...
combine_chunk_829
combine.txt
829
512
call. When a run fails, the journal notes where. The retry runs the step that failed again, and runs live everything the failed attempt did after it, such as the error handling of other capabilities. Tool calls already running alongside the failed one still replay. A step that raised and that the run recovered from, ...
combine_chunk_830
combine.txt
830
512
model is asked again. The attempt that failed the second time logs: .. code-block:: text Durable: the same tool call failed on consecutive attempts; a retry asks the model again from the request that chose it position=1 step=slogan_agent__function_toolset__marketing.call_tool:publish_slogan attempts=2 The model...
combine_chunk_831
combine.txt
831
512
ed on its own, and one a tool started is replayed under that tool call. The journal is deleted when the task succeeds, including any steps an earlier attempt recorded beyond where the last one went. In a plain ``@task``, which has no such moment, the capability deletes a run's journal as soon as that run succeeds: afte...
combine_chunk_832
combine.txt
832
512
would render through an iterator, since rendering would consume it. A parameter annotated ``Iterable[...]`` is the usual case: pydantic validates it lazily, and reading it to hash it would consume input the tool has not read yet. Tool arguments are rendered from copies, so fingerprinting never changes what the t...
combine_chunk_833
combine.txt
833
512
the first call out of place and every step after it run live. A call never gets the result recorded for another one. The snippet's own code is not recorded. Whatever it does outside a tool call happens again on the retry, such as writing to a directory shared through ``mount`` or calling an ``os_access`` handler, and...
combine_chunk_834
combine.txt
834
512
pydantic-ai ``run_id``: the task instance id on Airflow 3, which changes on every retry. With ``durable=True`` every attempt keeps the **first** attempt's id, and so does the run's ``conversation_id`` when there is no ``message_history``. Capabilities that key their own state on these ids, such as pydantic-ai-harness ...
combine_chunk_835
combine.txt
835
512
state; "Retries resume, clearing starts over" in :ref:`apache-airflow:concepts-resumable-tasks` lists the other ways of clearing and which of them keep it. Before Airflow 3.4 no clear deletes the journal (the task state store on 3.3, the file under ``durable_cache_path`` earlier), so a cleared task replays. A task t...
combine_chunk_836
combine.txt
836
512
instead. A result the journal cannot encode, such as an object with no JSON form, fails the task with ``DurableJournalError`` and no retry, since it would fail the same way every time. A write the storage refuses or fails does not fail the task: the task log names the step, and a retry runs it again. .. _durable-tool...
combine_chunk_837
combine.txt
837
512
Toolset - How to opt a tool out * - ``FunctionToolset``, tools passed to the agent - ``metadata={"airflow": False}`` on the tool, or ``SetToolMetadata``. * - ``SQLToolset``, ``HookToolset``, the provider's ``MCPToolset``, and any other toolset - ``SetToolMetadata``. On a toolset built on ``Airflow...
combine_chunk_838
combine.txt
838
512
=True`` combinations the operator rejects. <|file|>airflow/providers/common/ai/docs/features.rst .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. ...
combine_chunk_839
combine.txt
839
512
and checks it, without running it. - ``sql``; for files, ``apache-airflow-providers-common-sql[datafusion]`` * - :doc:`@task.llm_file_analysis <operators/llm_file_analysis>` - Sends files from object storage, including images and PDFs, to the model with a prompt. - ``parquet`` or ``avro`` for ...
combine_chunk_840
combine.txt
840
512
dex>` - Builds LlamaIndex language and embedding models from a connection. - ``llamaindex``, and install the vendor's package for vendors other than OpenAI Give an agent tools ------------------- :doc:`toolsets/index` compares what each toolset reaches and how you limit it; :doc:`agent_security` covers what...
combine_chunk_841
combine.txt
841
512
an agent on Bedrock AgentCore or Vertex AI Agent Engine. - The Amazon or Google provider's ``common.ai`` extra * - :doc:`Progressive tool disclosure <toolsets/progressive_disclosure>` - Hides a toolset's tools from the model until it searches for them, with ``.defer_loading()`` on any toolset. ...
combine_chunk_842
combine.txt
842
512
on Anthropic, and on the Bedrock and OpenRouter models that support it, so later requests pay less for it; OpenAI and Gemini cache on their own. On by default. - None Put a Human in the loop ------------------------ .. list-table:: :header-rows: 1 :widths: 28 52 20 * - Feature - Wha...
combine_chunk_843
combine.txt
843
512
error. - None Bring your own agent -------------------- The Strands, ADK, Anthropic SDK, OpenAI Agents SDK, Claude Agent SDK and other-framework routes get every toolset except ``MCPToolset`` and ``AgentSkillsToolset``. .. list-table:: :header-rows: 1 :widths: 28 52 20 * - Feature - What it does...
combine_chunk_844
combine.txt
844
512
28 52 20 * - Feature - What it does - Extra * - :doc:`Tracing <observability>` - Exports model and tool calls as OpenTelemetry spans. - None * - :ref:`AI Model tab <howto/observability:model-tab>` - Shows the model on the task instance page of ``@task.agent`` and every ``@task.llm*`` ...
combine_chunk_845
combine.txt
845
512
the requirements table on the :doc:`landing page <index>`. Choosing extras --------------- The provider's extras split into a few groups: * **Model providers** (``openai``, ``anthropic``, ``google``, ``bedrock``, ``typesafe``): pick the one matching your ``llm_conn_id`` connection (:doc:`model_providers` maps ve...
combine_chunk_846
combine.txt
846
512
* - Feature - Needs * - The ``skills`` and ``git`` extras (``apache-airflow-providers-git`` needs Airflow 3) - Airflow 3.0 * - The ``modal`` extra and the Modal sandbox backend (``apache-airflow-providers-modal`` needs Airflow 3) - Airflow 3.0 * - :doc:`Approval gates <approval_gates>`...
combine_chunk_847
combine.txt
847
512
; the provider's own imports stay the same. * Install Airflow with its constraints file as usual, then add the provider without it. The Airflow 2.11 constraints pin ``apache-airflow-providers-common-compat`` and ``apache-airflow-providers-common-sql`` to releases older than this provider needs. Installing Airflow...
combine_chunk_848
combine.txt
848
512
dev/breeze/src/airflow_breeze/templates`` DIRECTORY Package ``apache-airflow-providers-akeyless`` Release: ``0.3.2`` `Akeyless <https://www.akeyless.io/>`__ Vault Platform provider for Apache Airflow. Provides a Hook, Connection type, and Secrets Backend for managing static secrets, dynamic secrets, rotated secrets...
combine_chunk_849
combine.txt
849
512
.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions a...
combine_chunk_850
combine.txt
850
512
Requirements ------------ The minimum Apache Airflow version supported by this provider distribution is ``2.11.0``. ========================================== ================== PIP package Version required ========================================== ================== ``apache-airflo...
combine_chunk_851
combine.txt
851
512
distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http://www.apac...
combine_chunk_852
combine.txt
852
512
the License for the specific language governing permissions and limitations under the License. .. include:: /../../../devel-common/src/sphinx_exts/includes/installing-providers-from-sources.rst <|file|>airflow/providers/akeyless/docs/connections.rst .. Licensed to the Apache Software Foundation (ASF) under o...
combine_chunk_853
combine.txt
853
512
* - ``jwt`` - Raw JWT token (for ``jwt`` auth). * - ``k8s_auth_config_name`` - Kubernetes Auth Config name (for ``k8s`` auth). * - ``certificate_data`` - PEM-encoded client certificate (for ``certificate`` auth). * - ``private_key_data`` - PEM-encoded private ke...
combine_chunk_854
combine.txt
854
512
(the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http://www.apache.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS...
combine_chunk_855
combine.txt
855
512
"postgresql://user:password@host:5432/dbname"} **JSON dict with individual fields:** .. code-block:: json { "conn_type": "postgres", "host": "db.example.com", "login": "admin", "password": "secret", "schema": "mydb", "port": 5432 } Authentication Methods ----...
combine_chunk_856
combine.txt
856
512
less.io", "access_id": "p-xxxxxxxxx", "access_type": "aws_iam"}`` 3. Ensure the MWAA VPC has outbound HTTPS access to your Akeyless API endpoint (``api.akeyless.io`` or your Akeyless Gateway). 4. Create an Akeyless ``aws_iam`` Auth Method associated with the MWAA execution role ARN. Using with Google Managed S...
combine_chunk_857
combine.txt
857
512
azure_object_id`` - - Azure AD Object ID (only for ``azure_ad`` auth). * - ``token_ttl`` - ``600`` - Seconds to cache the API token before re-authenticating. <|file|>airflow/providers/ibm/db2/README.rst .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license...
combine_chunk_858
combine.txt
858
512
required ========================================== ========================================== ``apache-airflow`` ``>=2.11.0`` ``apache-airflow-providers-common-compat`` ``>=1.12.0`` ``apache-airflow-providers-common-sql`` ``>=1.32.0`` ``ibm-db`` ``>=3.2....
combine_chunk_859
combine.txt
859
512
<_api/airflow/providers/ibm/db2/index> Dialects <dialects> .. toctree:: :hidden: :maxdepth: 1 :caption: System tests System Tests <_api/tests/system/ibm/db2/index> .. toctree:: :hidden: :maxdepth: 1 :caption: Resources PyPI Repository <https://pypi.org/project/apache-airflow-pro...
combine_chunk_860
combine.txt
860
512
libraries that enable additional features of the provider. Install them when installing from PyPI. For example: .. code-block:: bash pip install apache-airflow-providers-ibm-db2[openlineage] =============== ======================================== Extra Dependencies =============== ===============...
combine_chunk_861
combine.txt
861
512
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN! .. IF YOU WANT TO MODIFY THIS FILE...
combine_chunk_862
combine.txt
862
512
"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http://www.apache.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT W...
combine_chunk_863
combine.txt
863
512
"License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http://www.apache.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, ...
combine_chunk_864
combine.txt
864
512
the insert SQL statement for the target database. - ``generate_replace_sql`` generates the upsert SQL statement for the target database. The IBM Db2 provider includes a specialized dialect: - ``db2`` :class:`~airflow.providers.ibm.db2.dialects.db2.Db2Dialect` specialized for IBM Db2; The dialect to be used will be ...
combine_chunk_865
combine.txt
865
512
CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN! .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE ``P...
combine_chunk_866
combine.txt
866
512
airflow.apache.org/docs/apache-airflow-providers-common-messaging>`_ ``common.messaging`` ======================================================================================================================== ==================== Optional dependencies ---------------------- ==================== =================...
combine_chunk_867
combine.txt
867
512
Repository <https://pypi.org/project/apache-airflow-providers-ibm-mq/> Example Dags <https://github.com/apache/airflow/tree/providers-ibm-mq/|version|/providers/ibm/mq/tests/system/ibm/mq> Installing from sources <installing-providers-from-sources> .. toctree:: :hidden: :maxdepth: 1 :caption: Guid...
combine_chunk_868
combine.txt
868
512
package Extra ======================================================================================================================== ==================== `apache-airflow-providers-common-messaging <https://airflo...
combine_chunk_869
combine.txt
869
512
file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http:/...
combine_chunk_870
combine.txt
870
512
angelog just below the "Changelog" header when there are some breaking changes and you want to add an explanation to the users on how they are supposed to deal with them. The changelog is updated and maintained semi-automatically by release manager. IBM MQ Message Queue ==================== .. contents:: :l...
combine_chunk_871
combine.txt
871
512
:start-after: [START howto_trigger_message_queue] :end-before: [END howto_trigger_message_queue] How it works ------------ 1. **IBM MQ Message Queue Trigger** The ``AwaitMessageTrigger`` listens for messages from an IBM MQ queue. It uses a non-transactional MQ get, so the integration is at-most-once r...
combine_chunk_872
combine.txt
872
512
Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http://www.apache.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on a...
combine_chunk_873
combine.txt
873
512
software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE ...
combine_chunk_874
combine.txt
874
512
1.15.0`` ``pydantic`` ``>=2.11.0`` ``retryhttp`` ``>=1.4.0`` ``aiofiles`` ``>=23.2.0`` ``aiohttp`` ``>=3.14.0`` ========================================== =================== The changelog for t...
combine_chunk_875
combine.txt
875
512
SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* - [Edge](#edge-provider-ui-plugin) - [Development](#development) - [Best Practices](#best-practices) - [Troubleshooting](#troubleshooting) <!-- END doctoc generated TOC please keep ...
combine_chunk_876
combine.txt
876
512
.config.ts` 3. **Build Output**: Adjust library configuration in `vite.config.ts` ### Package Configuration The `package.json` is configured with: - `main` and `module` pointing to the built library - `types` pointing to generated declaration files - `exports` for modern import/export support - `files` array specify...
combine_chunk_877
combine.txt
877
512
"License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANT...
combine_chunk_878
combine.txt
878
512
.. http://www.apache.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language ...
combine_chunk_879
combine.txt
879
512
ate with the central Airflow site via HTTPS. In the central Airflow site the EdgeExecutor is used to orchestrate the work. The EdgeExecutor is a custom executor which is used to schedule tasks on the edge workers. The EdgeExecutor can co-exist with other executors (for example CeleryExecutor or KubernetesExecutor) in ...
combine_chunk_880
combine.txt
880
512
3-5.1.1-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_edge3-5.1.1-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_edge3-5.1.1-py3-none-any.whl.sha512>`__) <|file|>airflow/providers/edge3/docs/commits.rst ....
combine_chunk_881
combine.txt
881
512
Executor) in the same Airflow site. Additional REST API endpoints are provided to distribute tasks and manage the edge workers. The endpoints are provided by the API server. This is detailed commit list of changes for versions provider package: ``edge3``. For high-level changelog, see :doc:`package information inclu...
combine_chunk_882
combine.txt
882
512
Install Edge provider using the Airflow constraints as of your Airflow version via ``pip install apache-airflow-providers-edge3 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.10.5/constraints-3.12.txt``. 6. Create a new folder ``dags`` in ``C:\Airflow`` and copy the relevant Dag files i...
combine_chunk_883
combine.txt
883
512
you might consider changing the config ``AIRFLOW__LOGGING__LOG_FILENAME_TEMPLATE`` to avoid the colon. For example you could add the Jinja2 template replacement ``| replace(":", "-")`` to use other characters. Note that the log filename template is resolved on server side and not on the worker side. So you need ...
combine_chunk_884
combine.txt
884
512
es ID | Edge3 Version | Description | +=========================+==================+=================+==========================================================+ | ``cd96a0a0e458`` (head) | ``d5a2f8b41c07`` | ``5.2.0`` | Change edge_job.command to unbounded tex...
combine_chunk_885
combine.txt
885
512
spelling:word-list:: branchpoint mergepoint <|file|>airflow/providers/edge3/docs/edge_executor.rst .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright o...
combine_chunk_886
combine.txt
886
512
(e.g. ``airflow edge worker -q remote,wisconsin_site``). This worker will then only pick up tasks wired to the specified queue(s). If the ``queue`` attribute is not given then a worker will pick tasks from all queues. This can be useful if you need specialized workers, either from a resource perspective (for say very...
combine_chunk_887
combine.txt
887
512
:** .. code-block:: bash airflow edge worker --team-name team_a -q queue1,queue2 When ``--team-name`` is omitted, the worker operates as a default-team worker — the same behavior as a single-team deployment. Existing workers continue to work without any changes. .. note:: ``--team-name`` is an experimental...
combine_chunk_888
combine.txt
888
512
reduce number of tasks running in parallel. The value can be used to block other tasks from being executed in parallel on the same worker. A ``pool_slots`` of 2 and a ``worker_concurrency`` of 3 means that a worker which executes this task can only execute a job with a ``pool_slots`` of 1 in parallel. If no ``pool_slo...
combine_chunk_889
combine.txt
889
512
via ``BaseExecutor.run_workload`` (or the ``airflow.sdk.execution_time.execute_workload`` entrypoint when using the subprocess path). .. note:: This feature is only active on Airflow 3.3 or newer. On earlier Airflow versions the EdgeExecutor only handles ``ExecuteTask`` workloads and any ``ExecuteCallbac...
combine_chunk_890
combine.txt
890
512
metrics export, either (1) upgrade Airflow to 3.3+, or (2) downgrade to Edge provider <= 3.5.0 with the workaround above. <|file|>airflow/providers/edge3/docs/database-erd-ref.rst .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distri...
combine_chunk_891
combine.txt
891
512
.org/licenses/LICENSE-2.0 .. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions a...
combine_chunk_892
combine.txt
892
512
.. note:: Airflow 3.0 does not support UI plugins. The UI plugin is only available in Airflow 3.1 and newer. Alternatively you can use the CLI commands as described in :ref:`deployment:maintenance-mgmt-cli`. The Edge provider adds a web UI plugin to the Airflow web UI. The plugin is made to be able to see job...
combine_chunk_893
combine.txt
893
512
that role or give those users a custom role without it. Finer-grained separation of read and management permissions for Edge workers is not implemented; it is listed under :doc:`architecture` as a known missing feature. Note that maintenance mode can also be adjusted via CLI. See :ref:`deployment:mainten...
combine_chunk_894
combine.txt
894
512
) - Execute the assigned tasks - most standard setup has local or centralized workers, e.g. via Celery * **Edge Workers** - Special workers which pull tasks via HTTP(s) as provided as feature via this provider package * **Scheduler** - Responsible for adding the necessary tasks to the queue. The EdgeExecutor is running...
combine_chunk_895
combine.txt
895
512
done automatically when the provider package is deployed. * **Edge Worker** - The Edge Worker is a lightweight process that runs on the edge device. It is responsible for pulling tasks from the API server and executing them. The Edge Worker is a standalone process that can be deployed on any machine that has acces...
combine_chunk_896
combine.txt
896
512
if running tasks > 0"]; MAINTENANCE_EXIT->IDLE[label="if running tasks = 0"]; IDLE->OFFLINE[label="on clean shutdown"]; RUNNING->TERMINATING[label="on clean shutdown if running tasks > 0"]; TERMINATING->OFFLINE[label="on clean shutdown if running tasks = 0"]; } See also :py:class:`airflow.pr...
combine_chunk_897
combine.txt
897
512
this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .. http://www.apache.org/licenses/L...
combine_chunk_898
combine.txt
898
512
direct and stable TCP connection to the edge devices. Target of the Edge Worker is to have a lean setup that allows task execution on edge devices with only (outbound) HTTPS access. Edge Workers will be able connect, pull and execute tasks with a simple deployment. .. image:: img/distributed_architecture.svg :alt...
combine_chunk_899
combine.txt
899
512
language governing permissions and limitations under the License. .. include:: /../../../devel-common/src/sphinx_exts/includes/security.rst <|file|>airflow/providers/edge3/docs/cli-ref.rst .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE f...