Skip to content

Commit

Permalink
Fix index for qdrant provider (#37330)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk committed Feb 11, 2024
1 parent 90a650d commit 91936e5
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 27 deletions.
26 changes: 26 additions & 0 deletions airflow/providers/qdrant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,29 @@
# 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 WHEN PREPARING DOCUMENTATION FOR THE PACKAGES.
#
# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
# `PROVIDER__INIT__PY_TEMPLATE.py.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
#
from __future__ import annotations

import packaging.version

__all__ = ["__version__"]

__version__ = "1.0.0"

try:
from airflow import __version__ as airflow_version
except ImportError:
from airflow.version import version as airflow_version

if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
"2.7.0"
):
raise RuntimeError(
f"The package `apache-airflow-providers-qdrant:{__version__}` needs Apache Airflow 2.7.0+"
)
7 changes: 7 additions & 0 deletions docs/apache-airflow-providers-qdrant/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.. 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
Expand All @@ -15,4 +16,10 @@
specific language governing permissions and limitations
under the License.
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
OVERWRITTEN WHEN PREPARING PACKAGES.
.. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
`PROVIDER_CHANGELOG_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
.. include:: ../../airflow/providers/qdrant/CHANGELOG.rst
30 changes: 29 additions & 1 deletion docs/apache-airflow-providers-qdrant/commits.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.. 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
Expand All @@ -15,5 +16,32 @@
specific language governing permissions and limitations
under the License.
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
OVERWRITTEN WHEN PREPARING PACKAGES.
.. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
`PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
Package apache-airflow-providers-qdrant
-------------------------------------------
------------------------------------------------------

`Qdrant <https://qdrant.tech/documentation>`__


This is detailed commit list of changes for versions provider package: ``qdrant``.
For high-level changelog, see :doc:`package information including changelog <index>`.



1.0.0
.....

Latest change: 2024-02-08

================================================================================================= =========== ================================
Commit Committed Subject
================================================================================================= =========== ================================
`bc50c58768 <https://github.com/apache/airflow/commit/bc50c58768f436916f1bb7ceb6cfae038683c358>`_ 2024-02-08 ``Add Qdrant Provider (#36805)``
================================================================================================= =========== ================================
52 changes: 26 additions & 26 deletions docs/apache-airflow-providers-qdrant/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@
Connection types <connections>
Operators <operators/qdrant>


.. toctree::
:hidden:
:maxdepth: 1
:caption: Commits

Detailed list of commits <commits>


.. toctree::
:hidden:
:maxdepth: 1
Expand All @@ -62,37 +53,46 @@

System Tests <_api/tests/system/providers/qdrant/index>

Package apache-airflow-providers-qdrant
-----------------------------------------
.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
`Qdrant <https://qdrant.tech/>`__
.. toctree::
:hidden:
:maxdepth: 1
:caption: Commits

Detailed list of commits <commits>


apache-airflow-providers-qdrant package
------------------------------------------------------

`Qdrant <https://qdrant.tech/documentation>`__


Release: 1.0.0

Provider package
----------------

This is a provider package for ``Qdrant`` APIs. All classes for this provider package
are in ``airflow.providers.qdrant`` python module.
This package is for the ``qdrant`` provider.
All classes for this package are included in the ``airflow.providers.qdrant`` python package.

Installation
------------

You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below)
for the minimum Airflow version supported) via
``pip install apache-airflow-providers-qdrant``

You can install this package on top of an existing Airflow 2 installation via
``pip install apache-airflow-providers-qdrant``.
For the minimum Airflow version supported, see ``Requirements`` below.

Requirements
------------

The minimum Apache Airflow version supported by this provider package is ``2.5.0``.

The minimum Apache Airflow version supported by this provider package is ``2.7.0``.

=================== ==================
PIP package Version required
=================== ==================
``apache-airflow`` ``>=2.7.0``
``qdrant_client`` ``>=1.7.0``
=================== ==================
================== ==================
PIP package Version required
================== ==================
``qdrant_client`` ``>=1.7.0``
``apache-airflow`` ``>=2.7.0``
================== ==================

0 comments on commit 91936e5

Please sign in to comment.