Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
32846c39
Commit
32846c39
authored
Jan 14, 2021
by
Markus Scheidgen
Browse files
Moved app_fastapi to app.
parent
aa321ca9
Changes
76
Show whitespace changes
Inline
Side-by-side
nomad/app
_fastapi
/flask/api/upload.py
→
nomad/app/flask/api/upload.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/common.py
→
nomad/app/flask/common.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/dcat/__init__.py
→
nomad/app/flask/dcat/__init__.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/dcat/api.py
→
nomad/app/flask/dcat/api.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/dcat/catalog.py
→
nomad/app/flask/dcat/catalog.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/dcat/datasets.py
→
nomad/app/flask/dcat/datasets.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/dcat/mapping.py
→
nomad/app/flask/dcat/mapping.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/dist.py
→
nomad/app/flask/dist.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/docs.py
→
nomad/app/flask/docs.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/encyclopedia.py
→
nomad/app/flask/encyclopedia.py
View file @
32846c39
File moved
nomad/app
_fastapi
/flask/gui.py
→
nomad/app/flask/gui.py
View file @
32846c39
File moved
nomad/app
_fastapi
/main.py
→
nomad/app/main.py
View file @
32846c39
File moved
nomad/app
_fastapi
/models.py
→
nomad/app/models.py
View file @
32846c39
...
...
@@ -29,7 +29,7 @@ import fnmatch
from
nomad
import
datamodel
# pylint: disable=unused-import
from
nomad.utils
import
strip
from
nomad.metainfo
import
Datetime
,
MEnum
from
nomad.app
_fastapi
.utils
import
parameter_dependency_from_model
from
nomad.app.utils
import
parameter_dependency_from_model
from
nomad.metainfo.search_extension
import
metrics
,
search_quantities
...
...
nomad/app
_fastapi
/optimade/__init__.py
→
nomad/app/optimade/__init__.py
View file @
32846c39
...
...
@@ -7,7 +7,7 @@ import importlib
os
.
environ
[
'OPTIMADE_CONFIG_FILE'
]
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'optimade_config.json'
)
# patch optimade logger (patched module most be outside this module to force import before optimade)
sys
.
modules
[
'optimade.server.logger'
]
=
importlib
.
import_module
(
'nomad.app
_fastapi
.optimade_logger'
)
sys
.
modules
[
'optimade.server.logger'
]
=
importlib
.
import_module
(
'nomad.app.optimade_logger'
)
# patch optimade base path
from
nomad
import
config
,
utils
# nopep8
...
...
nomad/app
_fastapi
/optimade/elasticsearch.py
→
nomad/app/optimade/elasticsearch.py
View file @
32846c39
File moved
nomad/app
_fastapi
/optimade/filterparser.py
→
nomad/app/optimade/filterparser.py
View file @
32846c39
File moved
nomad/app
_fastapi
/optimade/optimade_config.json
→
nomad/app/optimade/optimade_config.json
View file @
32846c39
File moved
nomad/app
_fastapi
/optimade_logger.py
→
nomad/app/optimade_logger.py
View file @
32846c39
File moved
nomad/app
_fastapi
/routers/__init__.py
→
nomad/app/routers/__init__.py
View file @
32846c39
File moved
nomad/app
_fastapi
/routers/auth.py
→
nomad/app/routers/auth.py
View file @
32846c39
...
...
@@ -22,8 +22,8 @@ from pydantic import BaseModel
from
nomad
import
infrastructure
from
nomad.utils
import
get_logger
,
strip
from
nomad.app
_fastapi
.models
import
User
,
HTTPExceptionModel
from
nomad.app
_fastapi
.utils
import
create_responses
from
nomad.app.models
import
User
,
HTTPExceptionModel
from
nomad.app.utils
import
create_responses
logger
=
get_logger
(
__name__
)
...
...
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment