| :py:mod:`airflow.providers.plexus.hooks.plexus` |
| =============================================== |
| |
| .. py:module:: airflow.providers.plexus.hooks.plexus |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.plexus.hooks.plexus.PlexusHook |
| |
| |
| |
| |
| .. py:class:: PlexusHook |
| |
| Bases: :py:obj:`airflow.hooks.base.BaseHook` |
| |
| Used for jwt token generation and storage to |
| make Plexus API calls. Requires email and password |
| Airflow variables be created. |
| |
| Example: |
| - export AIRFLOW_VAR_EMAIL = user@corescientific.com |
| - export AIRFLOW_VAR_PASSWORD = ******* |
| |
| |
| .. py:method:: token(self) |
| :property: |
| |
| Returns users token |
| |
| |
| |