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_1100 | combine.txt | 1,100 | 512 | airflow connections add smtp_gmail_oauth2 \
--conn-type smtp \
--conn-host smtp.gmail.com \
--conn-port 587 \
--conn-login '<YOUR_EMAIL>@gmail.com' \
--conn-extra '{
"from_email": "<YOUR_EMAIL>@gmail.com",
"auth_type": "oauth2",
"access_token": "<YOUR_OAUTH2_ACCESS_TOKEN... |
combine_chunk_1101 | combine.txt | 1,101 | 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 an
... |
combine_chunk_1102 | combine.txt | 1,102 | 512 | 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
with the License. You m... |
combine_chunk_1103 | combine.txt | 1,103 | 512 | be needed in order to use all the features of the package.
You need to install the specified providers in order to use them.
You can install such cross-provider dependencies when installing from PyPI. For example:
.. code-block:: bash
pip install apache-airflow-providers-pgvector[common.sql]
=================... |
combine_chunk_1104 | combine.txt | 1,104 | 512 | toctree::
:hidden:
:maxdepth: 1
:caption: Resources
Python API <_api/airflow/providers/pgvector/index>
PyPI Repository <https://pypi.org/project/apache-airflow-providers-pgvector/>
Installing from sources <installing-providers-from-sources>
.. toctree::
:hidden:
:maxdepth: 1
:capt... |
combine_chunk_1105 | combine.txt | 1,105 | 512 | _ ``common.sql``
============================================================================================================ ==============
Optional dependencies
---------------------
These extras install optional third-party libraries that enable additional features of the provider.
Install them when installing f... |
combine_chunk_1106 | combine.txt | 1,106 | 512 | 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.
.. _howto/operator:PgVectorIngestOperator:
PgVectorIngestOperator
========================
Use... |
combine_chunk_1107 | combine.txt | 1,107 | 512 | ALLY GENERATED. IT WILL BE OVERWRITTEN!
Package apache-airflow-providers-pgvector
------------------------------------------------------
`pgvector <https://github.com/pgvector/pgvector>`__
This is detailed commit list of changes for versions provider package: ``pgvector``.
For high-level changelog, see :doc:`packag... |
combine_chunk_1108 | combine.txt | 1,108 | 512 | type as Postgres connection type.
Hence, setup a Postgres type connection as described for the ``apache-airflow-providers-postgres``
connection.
<|file|>airflow/providers/pgvector/docs/security.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTI... |
combine_chunk_1109 | combine.txt | 1,109 | 512 |
Provider package
----------------
This is a provider package for ``standard`` provider. All classes for this provider package
are in ``airflow.providers.standard`` python package.
You can find package information and changelog for the provider
in the `documentation <https://airflow.apache.org/docs/apache-airflow-p... |
combine_chunk_1110 | combine.txt | 1,110 | 512 | 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 WARRANTIES OR CONDITIONS OF ANY
KIND, either exp... |
combine_chunk_1111 | combine.txt | 1,111 | 512 | IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
.. toctree::
:hidden:
:maxdepth: 1
:caption: Commits
Detailed list of commits <commits>
apache-airflow-providers-standard package
------------------------------------------------------
Airflow Standard Provider
Release: 1.22.0
... |
combine_chunk_1112 | combine.txt | 1,112 | 512 | .org/airflow/providers/apache_airflow_providers_standard-1.22.0.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.22.0.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.22.0.tar.gz.sha512>`__)
* `The apache-airfl... |
combine_chunk_1113 | combine.txt | 1,113 | 512 | 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 WARRANTIES OR CONDITIONS OF ANY
KIND, either express or impl... |
combine_chunk_1114 | combine.txt | 1,114 | 512 | and their
parameters, refer to the Python API documentation:
`Python API reference <https://airflow.apache.org/docs/apache-airflow-providers-standard/stable/_api/airflow/providers/standard/operators/hitl/index.html>`_
Usage guide
-----------
For an end-to-end guide on using HITL operators, including examples and
re... |
combine_chunk_1115 | combine.txt | 1,115 | 512 | call with the same ``key``, which defaults to ``subject``, and each
key is asked at most once per try. Pass ``key`` when the subject can change between runs (for
example when it includes a value computed fresh each run), or when the task can ask the same
subject more than once, such as one approval per agent too... |
combine_chunk_1116 | combine.txt | 1,116 | 512 | thread doesn't see the answers the task
resumed with. Don't call it inside code that turns exceptions into a result, such as an agent
framework's tool-error handler: the errors above only fail the task if they reach it.
* It needs Airflow 3.4+.
* The Required Actions page refuses an answer to a request that the ta... |
combine_chunk_1117 | combine.txt | 1,117 | 512 | eterministic potentially even if it is run on schedule. It can
take some time between when the DAGRun was scheduled and executed and it might mean that even if
the DAGRun was scheduled properly, the actual time used for branching decision will be different than the
schedule time and the branching decision might be diff... |
combine_chunk_1118 | combine.txt | 1,118 | 512 | /providers/standard/example_dags/example_branch_day_of_week_operator.py
:language: python
:dedent: 4
:start-after: [START howto_operator_day_of_week_branch]
:end-before: [END howto_operator_day_of_week_branch]
<|file|>airflow/providers/standard/docs/operators/python.rst
.. Licensed to the Apache Softw... |
combine_chunk_1119 | combine.txt | 1,119 | 512 | .. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_python_decorator.py
:language: python
:dedent: 4
:start-after: [START howto_operator_python_kwargs]
:end-before: [END howto_operator_python_kwargs]
.. tab-item:: PythonOperator
:sync... |
combine_chunk_1120 | combine.txt | 1,120 | 512 | _dags/example_python_decorator.py
:language: python
:dedent: 4
:start-after: [START howto_operator_python_render_sql]
:end-before: [END howto_operator_python_render_sql]
.. tab-item:: PythonOperator
:sync: operator
.. exampleinclude:: /../src/airflow... |
combine_chunk_1121 | combine.txt | 1,121 | 512 | .. tab-item:: PythonVirtualenvOperator
:sync: operator
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_python_operator.py
:language: python
:dedent: 4
:start-after: [START howto_operator_python_venv]
:end-before: [END howto... |
combine_chunk_1122 | combine.txt | 1,122 | 512 | The virtual environment is created based on the global python pip configuration on your worker. Using additional ENVs in your environment or adjustments in the general
pip configuration as described in `pip config <https://pip.pypa.io/en/stable/topics/configuration/>`_.
If you want to use additional task specific priv... |
combine_chunk_1123 | combine.txt | 1,123 | 512 | reused. If virtual environment caching is used, per unique requirements set different
virtual environment subfolders are created in the cache path. So depending on your variations in the Dags in your system setup sufficient disk space is needed.
Note that no automated cleanup is made and in case of cached mode. All w... |
combine_chunk_1124 | combine.txt | 1,124 | 512 | equivalent of ``ExternalPythonOperator``
to execute Python code in pre-defined Python environments.
.. tab-set::
.. tab-item:: @task.external_python
:sync: taskflow
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_python_decorator.py
:language: python
... |
combine_chunk_1125 | combine.txt | 1,125 | 512 | task.branch`` decorator is the Taskflow equivalent of ``BranchPythonOperator``
to execute Python code.
.. tab-set::
.. tab-item:: @task.branch
:sync: taskflow
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_branch_operator_decorator.py
:language: python... |
combine_chunk_1126 | combine.txt | 1,126 | 512 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Argument passing and templating options are the same as with :ref:`howto/operator:PythonOperator`.
.. _howto/operator:BranchExternalPythonOperator:
BranchExternalPythonOperator
============================
Use the :class:`~airflow.providers.standard.operators.python.BranchExtern... |
combine_chunk_1127 | combine.txt | 1,127 | 512 | condition_is_true" task will execute while the tasks downstream of the "condition_is_false" task will be
skipped.
.. note::
The ``@task.short_circuit`` decorator is the Taskflow equivalent of ``ShortCircuitOperator``
to short-circuit pipelines via Python callables.
.. tab-set::
.. tab-item:: @task.short_... |
combine_chunk_1128 | combine.txt | 1,128 | 512 | /../src/airflow/providers/standard/example_dags/example_short_circuit_decorator.py
:language: python
:dedent: 4
:start-after: [START howto_operator_short_circuit_trigger_rules]
:end-before: [END howto_operator_short_circuit_trigger_rules]
.. tab-item:: ShortCircuitO... |
combine_chunk_1129 | combine.txt | 1,129 | 512 | to execute Bash commands.
.. tab-set::
.. tab-item:: @task.bash
:sync: taskflow
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_bash_decorator.py
:language: python
:dedent: 4
:start-after: [START howto_decorator_bash]
:... |
combine_chunk_1130 | combine.txt | 1,130 | 512 | Bash command as escaping and
sanitization of the Bash command is not performed.
This applies mostly to using ``dag_run.conf``, as that can be submitted via users in the Web UI. Most of
the default template variables are not at risk.
For example, do **not** do:
.. tab-set::
.. tab-item::... |
combine_chunk_1131 | combine.txt | 1,131 | 512 | :sync: taskflow
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_bash_decorator.py
:language: python
:dedent: 4
:start-after: [START howto_decorator_bash_skip]
:end-before: [END howto_decorator_bash_skip]
.. tab-item:: BashOperato... |
combine_chunk_1132 | combine.txt | 1,132 | 512 | each key is pushed as its own XCom, which lets downstream tasks pull
individual values by name instead of pulling the whole dictionary and indexing into it.
.. tab-set::
.. tab-item:: @task.bash
:sync: taskflow
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_bash_deco... |
combine_chunk_1133 | combine.txt | 1,133 | 512 | the ``BashOperator`` and ``@task.bash`` TaskFlow decorator enables you to execute Bash commands stored
in files. The files **must** have a ``.sh`` or ``.bash`` extension.
With Jinja template
"""""""""""""""""""
You can execute bash script which contains Jinja templates. When you do so, Airflow
loads the content of y... |
combine_chunk_1134 | combine.txt | 1,134 | 512 | /scripts")
def example_bash_dag():
@task.bash
def bash_example():
return "test.sh "
.. tab-item:: BashOperator
:sync: operator
.. code-block:: python
:emphasize-lines: 1
with DAG("example_bash_dag", ..., templ... |
combine_chunk_1135 | combine.txt | 1,135 | 512 | script, do not add the space
and instead check the `bash script with Jinja template <#with-jinja-template>`_ section.
Enriching Bash with Python
--------------------------
The ``@task.bash`` TaskFlow decorator allows you to combine both Bash and Python into a powerful combination
within a task.
Using Python conditi... |
combine_chunk_1136 | combine.txt | 1,136 | 512 | .py
:language: python
:dedent: 4
:start-after: [START howto_operator_latest_only]
:end-before: [END howto_operator_latest_only]
<|file|>airflow/providers/standard/docs/commits.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE... |
combine_chunk_1137 | combine.txt | 1,137 | 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.
.. include:: /../../../devel-common/src/sphinx_ex... |
combine_chunk_1138 | combine.txt | 1,138 | 512 | EventSensor` to wait for
asset events matching a set of filters to reach an expected count.
Use this sensor when an already-running Dag needs an asset between tasks. For example, a
daily consumer can run its preparation tasks immediately, then wait for another Dag to
produce the partition for its own data interval. Mo... |
combine_chunk_1139 | combine.txt | 1,139 | 512 | . By default the
sensor succeeds once **at least one** matching event exists.
Supply at least one query filter: ``after``, ``before``, ``partition_key``,
``partition_key_regexp_pattern``, or a non-empty ``extra`` dictionary. The sensor
raises ``ValueError`` at construction if no filter is supplied. It checks again
aft... |
combine_chunk_1140 | combine.txt | 1,140 | 512 | Asset-triggered runs have none.
- Stays fixed for the same run.
- Its meaning depends on the timetable or the value supplied for a manual
run. It does not necessarily represent when execution started.
* - ``DataIntervalStart()`` / ``DataIntervalEnd()``
- Runs with a data interval. Availab... |
combine_chunk_1141 | combine.txt | 1,141 | 512 | timetable's ``interval``.
A bound raises ``ValueError`` if its selected timestamp is missing; it does not
substitute another timestamp. Manual runs can have a data interval when a logical
date is supplied. For asset-triggered runs, use ``RunStart()`` or ``RunAfter()``
instead. See the table for how they differ when a... |
combine_chunk_1142 | combine.txt | 1,142 | 512 | and exclude events that arrived between pokes.
.. _howto/sensor:AssetEventSensor:filtering:
Filtering events and expected count
-----------------------------------
Filter events with ``after``, ``before`` (time range), ``partition_key``,
``partition_key_regexp_pattern``, or ``extra`` (key/value pairs contained in
t... |
combine_chunk_1143 | combine.txt | 1,143 | 512 | , so
``limit < expected_count`` is allowed when a callback is supplied; the count is checked on its
output. Choose the limit with any filtering or deduplication in mind.
With ascending order and a limit, each poke returns the same oldest matching events while those
events remain in the query range. If the callback rej... |
combine_chunk_1144 | combine.txt | 1,144 | 512 | specific time.
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_sensors.py
:language: python
:dedent: 4
:start-after: [START example_time_delta_sensor]
:end-before: [END example_time_delta_sensor]
To run the sensor in deferrable mode, set ``deferrable=True``. See :ref:`defe... |
combine_chunk_1145 | combine.txt | 1,145 | 512 | specific language governing permissions and limitations
under the License.
.. _howto/operator:PythonSensor:
PythonSensor
============
The :class:`~airflow.providers.standard.sensors.python.PythonSensor` executes an arbitrary callable and waits for its return
value to be True.
.. note::
The ``@task.sen... |
combine_chunk_1146 | combine.txt | 1,146 | 512 | :dedent: 4
:start-after: [START example_bash_sensors]
:end-before: [END example_bash_sensors]
<|file|>airflow/providers/standard/docs/sensors/external_task_sensor.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed... |
combine_chunk_1147 | combine.txt | 1,147 | 512 | different Dag for a specific ``execution_date``.
ExternalTaskSensor also provide options to set if the Task on a remote Dag succeeded or failed
via ``allowed_states`` and ``failed_states`` parameters.
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_external_task_marker_dag.py
:languag... |
combine_chunk_1148 | combine.txt | 1,148 | 512 | 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
with the License. You may obtain a copy of the License ... |
combine_chunk_1149 | combine.txt | 1,149 | 512 | , either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
.. include:: /../../../devel-common/src/sphinx_exts/includes/security.rst
<|file|>airflow/providers/apprise/README.rst
.. Licensed to the Apache Software Foundation (ASF) under one... |
combine_chunk_1150 | combine.txt | 1,150 | 512 | .0``
``apache-airflow-providers-common-compat`` ``>=1.9.0``
``apprise`` ``>=1.8.0``
========================================== ==================
The changelog for the provider package can be found in the
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-apprise/2.4... |
combine_chunk_1151 | combine.txt | 1,151 | 512 | aronc/apprise>`__
Release: 2.4.1
Provider package
----------------
This package is for the ``apprise`` provider.
All classes for this package are included in the ``airflow.providers.apprise`` python package.
Installation
------------
You can install this package on top of an existing Airflow installation via
``pi... |
combine_chunk_1152 | combine.txt | 1,152 | 512 | 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/LICENSE-2.0
.. Unless required by applicable law or agreed t... |
combine_chunk_1153 | combine.txt | 1,153 | 512 | prise.AppriseNotifier`) allows users to send
messages to `multiple service <https://github.com/caronc/apprise#supported-notifications>`_ using the various ``on_*_callbacks`` at both the Dag level and Task level.
Example Code:
-------------
.. code-block:: python
from datetime import datetime
from airflow imp... |
combine_chunk_1154 | combine.txt | 1,154 | 512 | 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/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is ... |
combine_chunk_1155 | combine.txt | 1,155 | 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_1156 | combine.txt | 1,156 | 512 | and changelog for the provider
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.4.1/>`_.
Installation
------------
You can install this package on top of an existing Airflow installation (see ``Requirements`` below
for the minimum Airflow version supported) via
``pip install ... |
combine_chunk_1157 | combine.txt | 1,157 | 512 | Home <self>
Changelog <changelog>
Security <security>
.. toctree::
:hidden:
:maxdepth: 1
:caption: Guides
Connection types <connections/vertica>
Operators <operators>
.. toctree::
:hidden:
:maxdepth: 1
:caption: References
Python API <_api/airflow/providers/vertica/in... |
combine_chunk_1158 | combine.txt | 1,158 | 512 | third-party libraries that enable additional features of the provider.
Install them when installing from PyPI. For example:
.. code-block:: bash
pip install apache-airflow-providers-vertica[sqlalchemy]
============== ==============================
Extra Dependencies
============== =================... |
combine_chunk_1159 | combine.txt | 1,159 | 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 THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
`PROVIDER_... |
combine_chunk_1160 | combine.txt | 1,160 | 512 | 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 WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
... |
combine_chunk_1161 | combine.txt | 1,161 | 512 | <https://github.com/vertica/vertica-python#sql-data-conversion-to-python-objects>`_.
* ``session_label``: Sets a label for the connection on the server.
* ``ssl``: Support only True or False. See `TLS/SSL <https://github.com/vertica/vertica-python#tlsssl>`_.
* ``unicode_error``: See `UTF-8 encoding i... |
combine_chunk_1162 | combine.txt | 1,162 | 512 | airflow.providers.common.sql.operators.sql>` to execute
Vertica commands in a `Vertica <https://www.vertica.com/documentation/>`__ database.
.. note::
If you previously used other legacy operators to handle Vertica interactions, you can now use
``SQLExecuteQueryOperator`` for both stored procedures and raw SQL... |
combine_chunk_1163 | combine.txt | 1,163 | 512 | 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 WARRANTIES OR CONDITIONS OF ANY
KIND... |
combine_chunk_1164 | combine.txt | 1,164 | 512 | 1.2.0/>`_.
Installation
------------
You can install this package on top of an existing Airflow installation (see ``Requirements`` below
for the minimum Airflow version supported) via
``pip install apache-airflow-providers-anthropic``
The package supports the following python versions: 3.11,3.12,3.13,3.14
Requireme... |
combine_chunk_1165 | combine.txt | 1,165 | 512 | when a Dag needs Anthropic's native API surface — services Anthropic runs
for you, which no vendor-neutral operator wraps:
* ``AnthropicBatchOperator`` and ``AnthropicBatchSensor`` — submit a Claude
`Message Batches <https://docs.claude.com/en/docs/build-with-claude/batch-processing>`__
job for asynchronous bulk ... |
combine_chunk_1166 | combine.txt | 1,166 | 512 | Operators <operators/anthropic>
.. toctree::
:hidden:
:maxdepth: 1
:caption: Resources
Python API <_api/airflow/providers/anthropic/index>
PyPI Repository <https://pypi.org/project/apache-airflow-providers-anthropic/>
Installing from sources <installing-providers-from-sources>
.. toctree... |
combine_chunk_1167 | combine.txt | 1,167 | 512 | .0.0``
``aws`` ``anthropic[aws]>=1.0.0``
=========== =============================
Downloading official packages
-----------------------------
You can download officially released packages and verify their checksums and signatures from the
`Official Apache Download site <https://downloads.apache.org/airflow/pro... |
combine_chunk_1168 | combine.txt | 1,168 | 512 | Batches API
<https://docs.claude.com/en/docs/build-with-claude/batch-processing>`__ from Airflow.
Message Batches process many ``messages.create`` requests asynchronously at 50% of
standard cost; most complete within an hour, with a 24-hour SLA — a good fit for
Airflow's deferrable execution model.
.. note::
For... |
combine_chunk_1169 | combine.txt | 1,169 | 512 | — seconds between status checks, in both the synchronous and deferrable paths.
* ``timeout`` — seconds to wait for a terminal status; defaults to 24 hours (the batch SLA).
* ``wait_for_completion`` — if ``False``, return the batch ID immediately after submission.
* ``fail_on_partial_error`` — if ``True``, fail the tas... |
combine_chunk_1170 | combine.txt | 1,170 | 512 | able=True,
)
submit >> wait
.. _howto/operator:AnthropicAgentSessionOperator:
AnthropicAgentSessionOperator
-----------------------------
:class:`~airflow.providers.anthropic.operators.agent.AnthropicAgentSessionOperator` runs a
`Managed Agents <https://platform.claude.com/docs/en/managed-agents/overview>`__... |
combine_chunk_1171 | combine.txt | 1,171 | 512 | MCP/credential access to the session.
* ``budget`` -- spend ceiling for the session, in US dollars (``25.00``) or as the raw API
payload (a mapping). Templated, so it can come from a Variable, a params entry, or
an upstream XCom. See `Session budgets`_ below.
* ``session_resources`` — files, GitHub repos, or memor... |
combine_chunk_1172 | combine.txt | 1,172 | 512 | python
budget = {"type": "limit", "max_list_cost": {"amount": "2500", "currency": "USD"}}
To raise or remove a ceiling on a session that is already running, use
:meth:`~airflow.providers.anthropic.hooks.anthropic.AnthropicHook.update_session`. Only the
keywords you pass are sent, because the API distinguishes *o... |
combine_chunk_1173 | combine.txt | 1,173 | 512 | model with **no
list price**, because a budget cannot measure that spend. Raising the ceiling does not
unblock that case; remove the budget instead.
.. warning::
Airflow ``retries`` multiply spend. Each retry starts a **new** session with a **fresh**
budget, so ``retries=2`` with a $25 ceiling can sp... |
combine_chunk_1174 | combine.txt | 1,174 | 512 | recoverable from this key; sum it from the
session records instead. This is the same scenario as the retry warning above, so
``retries=0`` keeps both problems away.
Configuring the agent
"""""""""""""""""""""
Agent-level settings are not operator arguments: they belong to the agent, which is created
once and... |
combine_chunk_1175 | combine.txt | 1,175 | 512 | on the ``multiagent`` object is required and the request is rejected
without it. The roster takes 1 to 20 entries, each an agent ID
string, a versioned ``{"type": "agent", "id": ..., "version": ...}`` reference,
``{"type": "self"}`` for recursive self-invocation, or an ``advisor``. Referenced agents
must exist, must b... |
combine_chunk_1176 | combine.txt | 1,176 | 512 | .claude.com/>`__ provider for Apache Airflow.
Wraps the official Anthropic Python SDK to run the Claude Message Batches API
asynchronously from Airflow, plus direct message and token-counting helpers.
This is detailed commit list of changes for versions provider package: ``anthropic``.
For high-level changelog, see :... |
combine_chunk_1177 | combine.txt | 1,177 | 512 | FLOW_CONN_ANTHROPIC_DEFAULT='{"conn_type": "anthropic", "password": "sk-ant-..."}'
Or add it through the Airflow UI (``Admin > Connections``) or the CLI (``airflow connections add``).
3. Write your first Dag
-----------------------
``AnthropicBatchOperator`` submits a Message Batch — a list of
``messages.create`` re... |
combine_chunk_1178 | combine.txt | 1,178 | 512 | 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/LICENSE-2.0
.. Unless required by applicable law or agreed t... |
combine_chunk_1179 | combine.txt | 1,179 | 512 | A custom base URL for the first-party API (for example, an LLM gateway or proxy).
Extra (optional)
A JSON dictionary of additional parameters. All keys are optional:
* ``platform`` — which client to build: ``anthropic`` (default), ``bedrock``, ``vertex``,
``aws`` or ``foundry``.
* ``model`` — de... |
combine_chunk_1180 | combine.txt | 1,180 | 512 | }
}
* **From the environment** — leave both the API Key and ``extra`` empty; the SDK resolves
credentials from the standard ``ANTHROPIC_FEDERATION_RULE_ID`` / ``ANTHROPIC_ORGANIZATION_ID``
/ ``ANTHROPIC_SERVICE_ACCOUNT_ID`` / ``ANTHROPIC_IDENTITY_TOKEN_FILE`` environment variables.
.. note::
``... |
combine_chunk_1181 | combine.txt | 1,181 | 512 | ver.org>`_ versioning policy. Depending on
the scope of the change, Provider will get ''MAJOR'' version upgrade when there are
breaking changes, ``MINOR`` version upgrade when there are new features or ``PATCHLEVEL`` version upgrade
when there are only bug fixes (including security bugfixes) - and this is the only vers... |
combine_chunk_1182 | combine.txt | 1,182 | 512 | + provider packages. These integrations are critical
for "ubiquitous orchestration." This governance framework establishes a scalable method to grow the
number of integrations while ensuring quality. Actual code acceptance and release governance remains with the Airflow PMC.
Stewardship model
^^^^^^^^^^^^^^^^^
Each p... |
combine_chunk_1183 | combine.txt | 1,183 | 512 | the PMC. Incubation ensures that code, licenses, and
processes align with ASF guidelines and community principles such as community, collaborative
development, and openness.
Requirements for incubation:
* Working codebase to bootstrap credibility and attract contributions
* Visibility in the provider health dashboar... |
combine_chunk_1184 | combine.txt | 1,184 | 512 | Contributors
- At least 5 unique individuals making contributions (code or documentation) in the last 6 months
* - Issue resolution rate
- At least 60% of reported issues closed within 90 days
* - Security/release issues
- All release and security related issues closed within 30 days
* - Featur... |
combine_chunk_1185 | combine.txt | 1,185 | 512 | st#removing-community-providers>`_)
* It is possible for the provider to be resurrected from the attic as long as there is confidence that there is a
clear need for the provider and the (possibly new) stewards are able to maintain it actively on this go around.
It should be noted that significant effort may be requ... |
combine_chunk_1186 | combine.txt | 1,186 | 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 an
... |
combine_chunk_1187 | combine.txt | 1,187 | 512 | .org/docs/apache-airflow-providers-duckdb/0.2.1/changelog.html>`_.
<|file|>airflow/providers/duckdb/docs/index.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 copy... |
combine_chunk_1188 | combine.txt | 1,188 | 512 | to the DuckDB minor version. A
deployment that persists DuckDB database files, or that pre-installs extensions into an extension
directory, should pin ``duckdb`` itself rather than relying on this provider's lower bound.
.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
... |
combine_chunk_1189 | combine.txt | 1,189 | 512 | __)
* `The apache-airflow-providers-duckdb 0.2.1 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_duckdb-0.2.1-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_duckdb-0.2.1-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache... |
combine_chunk_1190 | combine.txt | 1,190 | 512 | .
.. airflow-providers-commits::
<|file|>airflow/providers/duckdb/docs/installing-providers-from-sources.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... |
combine_chunk_1191 | combine.txt | 1,191 | 512 | uck
database, or shared engine settings.
Only the default connection id is optional. Passing any other id asserts that the connection
exists, a missing connection raises rather than silently opening an in-memory database.
Default Connection ID
---------------------
``duckdb_default``
Configuring the Con... |
combine_chunk_1192 | combine.txt | 1,192 | 512 | . That is not
possible in an environment without outbound internet access, and where it is possible it costs
every worker the download, so ``autoinstall_extensions`` defaults to ``False`` and a missing
extension fails with a clear error rather than reaching the network.
Pre-populate an extension direct... |
combine_chunk_1193 | combine.txt | 1,193 | 512 | /operators.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 License, Version 2.0 (the
... |
combine_chunk_1194 | combine.txt | 1,194 | 512 | -
DuckDB can read and write object storage directly, which needs the ``httpfs`` extension and
credentials for the store:
.. code-block:: python
hook_params = {"extensions": ["httpfs"]}
.. note::
``httpfs`` has to be present for that to work. Extension downloads are off by default, so either
pre-populat... |
combine_chunk_1195 | combine.txt | 1,195 | 512 | 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 and limitations
under the License.... |
combine_chunk_1196 | combine.txt | 1,196 | 512 | Requirements
------------
========================================== ==================
PIP package Version required
========================================== ==================
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1... |
combine_chunk_1197 | combine.txt | 1,197 | 512 | .org/project/apache-airflow-providers-docker/>
Installing from sources <installing-providers-from-sources>
.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
.. toctree::
:hidden:
:maxdepth: 1
:caption: Commits
Detailed list of commits <commits>
ap... |
combine_chunk_1198 | combine.txt | 1,198 | 512 | ocker-4.6.1-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_docker-4.6.1-py3-none-any.whl.sha512>`__)
<|file|>airflow/providers/docker/docs/commits.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. ... |
combine_chunk_1199 | combine.txt | 1,199 | 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.