Skip to content
Snippets Groups Projects
Commit 8c1f4376 authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

reqs

parent a58b4242
No related branches found
No related tags found
No related merge requests found
Pipeline #76829 failed
......@@ -14,6 +14,7 @@ test:
entrypoint: [""]
before_script:
- airflow db init
- pip install -r requirements.txt
script:
- ls
- pwd
......
from airflow.models.baseoperator import BaseOperator
from airflow.models.connection import Connection
import requests
def get_objects(server):
lst = requests.get(urljoin(server, 'api/records')).json()
return lst['hits']['hits']
from st import get_objects
class B2ShareOperator(BaseOperator):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment