Skip to content

Commit

Permalink
Fix broken resources model
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Feb 20, 2024
1 parent 0f68859 commit 0c1991a
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 1 deletion.
1 change: 1 addition & 0 deletions applications/nwb-explorer/dependencies/nwb-explorer.git
Submodule nwb-explorer.git added at 1c8ae3
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ def to_dao(cls, ws_dict: dict) -> TWorkspaceResourceEntity:
@classmethod
def to_dto(cls, resource) -> Model:
resource_dict = dao_entity2dict(resource)
resource_dict['origin'] = json.loads(resource.origin)
if hasattr(resource, "origin") and resource.origin:
resource_dict['origin'] = json.loads(resource.origin)
if resource_dict['folder']: # Legacy folder/path handling

# Legacy folder/path handling
Expand Down
91 changes: 91 additions & 0 deletions requirements-1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
anyio==4.2.0
argo-workflows==5.0.0
asgiref==3.7.2
attrs==23.2.0
blinker==1.7.0
cachetools==5.3.2
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
clickclick==20.10.2
-e git+https://github.com/MetaCell/cloud-harness.git@ec25adbd55c7778a3425af837aff5c548571d735#egg=cloudharness&subdirectory=libraries/cloudharness-common
-e git+https://github.com/MetaCell/cloud-harness.git@ec25adbd55c7778a3425af837aff5c548571d735#egg=cloudharness_model&subdirectory=libraries/models
connexion==2.14.2
cryptography==41.0.7
deprecation==2.1.0
ecdsa==0.18.0
exceptiongroup==1.2.0
Flask==2.2.0
Flask-Cors==4.0.0
Flask-SQLAlchemy==3.0.2
fonttools==4.38.0
google-auth==2.26.2
greenlet==3.0.3
gunicorn==21.2.0
h11==0.14.0
httpcore==1.0.2
httpx==0.26.0
idna==3.6
importlib-metadata==7.0.1
importlib-resources==5.13.0
inflection==0.5.1
itsdangerous==2.1.2
Jinja2==3.1.3
jsonschema==4.17.3
jsonschema-path==0.3.2
jsonschema-spec==0.1.6
jsonschema-specifications==2023.12.1
kafka-python==2.0.2
kubernetes==29.0.0
lazy-object-proxy==1.10.0
MarkupSafe==2.1.3
mypy==1.8.0
mypy-extensions==1.0.0
nlopt==2.7.1
oauthlib==3.2.2
OpenAlchemy==2.0.1
openapi-schema-validator==0.2.3
openapi-spec-validator==0.4.0
oyaml==1.0
packaging==23.2
pathable==0.4.3
psutil==5.9.4
psycopg2-binary==2.9.9
pyaml==23.12.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.21
pyhumps==3.8.0
PyJWT==2.8.0
PyOpenGL==3.1.6
PyQt5==5.15.7
PyQt5-Qt5==5.15.2
PyQt5-sip==12.11.0
pyrsistent==0.20.0
python-dateutil==2.8.2
python-jose==3.3.0
python-keycloak==3.7.0
python-multipart==0.0.6
PyYAML==6.0.1
referencing==0.31.1
requests==2.31.0
requests-oauthlib==1.3.1
requests-toolbelt==1.0.0
rfc3339-validator==0.1.4
rpds-py==0.17.1
rsa==4.9
sentry-sdk==1.39.2
six==1.16.0
sniffio==1.3.0
SQLAlchemy==1.4.51
sqlalchemy-stubs==0.4
starlette==0.32.0.post1
swagger-ui-bundle==0.0.9
tomli==2.0.1
typing_extensions==4.9.0
urllib3==2.1.0
websocket-client==1.7.0
Werkzeug==2.2.3
-e git+https://github.com/OpenSourceBrain/OSBv2@89db334b5928d58b1ce554b4ee5d6aa387022d41#egg=workspaces&subdirectory=applications/workspaces/server
zipp==3.17.0
7 changes: 7 additions & 0 deletions requirements-default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fonttools==4.38.0
nlopt==2.7.1
psutil==5.9.4
PyOpenGL==3.1.6
PyQt5==5.15.7
PyQt5-Qt5==5.15.2
PyQt5-sip==12.11.0

0 comments on commit 0c1991a

Please sign in to comment.