set access for snippets based on access status of media

Signed-off-by: Sebastian Schüpbach <sebastian.schuepbach@unibas.ch>
2 jobs for master in 30 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed test #76067
mbr

00:00:30

 
  Publish
skipped build-latest-image #76068
mbr
 
Name Stage Failure
failed
test Test
Collecting oauthlib>=3.0.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Installing collected packages: urllib3, pyasn1, idna, chardet, certifi, six, rsa, requests, pyparsing, pyasn1-modules, oauthlib, filelock, distlib, cachetools, appdirs, websocket-client, virtualenv, toml, requests-oauthlib, pyyaml, python-dateutil, pyflakes, pycodestyle, py, protobuf, pluggy, packaging, nodeenv, mccabe, iniconfig, identify, google-auth, cfgv, attrs, pytest, pre-commit, mysql-connector-python, kubernetes, kafka-python, flake8, autopep8
Successfully installed appdirs-1.4.4 attrs-20.3.0 autopep8-1.5.6 cachetools-4.2.1 certifi-2020.12.5 cfgv-3.2.0 chardet-4.0.0 distlib-0.3.1 filelock-3.0.12 flake8-3.9.0 google-auth-1.28.0 identify-2.2.2 idna-2.10 iniconfig-1.1.1 kafka-python-2.0.2 kubernetes-12.0.1 mccabe-0.6.1 mysql-connector-python-8.0.23 nodeenv-1.5.0 oauthlib-3.1.0 packaging-20.9 pluggy-0.13.1 pre-commit-2.11.1 protobuf-3.15.6 py-1.10.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycodestyle-2.7.0 pyflakes-2.3.1 pyparsing-2.4.7 pytest-6.2.2 python-dateutil-2.8.1 pyyaml-5.4.1 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.7.2 six-1.15.0 toml-0.10.2 urllib3-1.26.4 virtualenv-20.4.3 websocket-client-0.58.0
$ flake8 ./mediametadatatodb_app
./mediametadatatodb_app/resources/MediametadataToDB.py:348:101: E501 line too long (113 > 100 characters)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1