Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reference to "all" endpoint and rename collections submodule #73

Merged
merged 2 commits into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions optimade/models/baseinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ class BaseInfoAttributes(BaseModel):
default=["json"], description="List of available output formats."
)
available_endpoints: List[str] = Schema(
default=["structures", "all", "info"],
default=["structures", "info"],
description="List of available endpoints (i.e., the string to be appended to the base URL).",
)
entry_types_by_format: Dict[str, List[str]] = Schema(
default={"json": ["structures", "all"]},
default={"json": ["structures"]},
description="Available entry endpoints as a function of output formats.",
)
is_index: Optional[bool] = Schema(
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion optimade/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
)

from .deps import EntryListingQueryParams, SingleEntryQueryParams
from .collections import MongoCollection
from .entry_collections import MongoCollection
from .config import CONFIG


Expand Down