Skip to content

Commit

Permalink
Merge pull request #77 from bento-platform/types-fix
Browse files Browse the repository at this point in the history
Types fix
  • Loading branch information
davidlougheed authored Dec 8, 2022
2 parents be5c420 + dc03954 commit 3adff1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bento_lib/package.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = bento_lib
version = 5.0.1
version = 5.0.2
authors = David Lougheed, Paul Pillot
author_emails = [email protected], [email protected]
8 changes: 6 additions & 2 deletions bento_lib/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Literal, TypedDict, Union
from typing import TypedDict

__all__ = [
"GA4GHServiceType",
Expand Down Expand Up @@ -34,4 +34,8 @@ class GA4GHServiceInfo(_GA4GHServiceInfoBase, total=False):
contactUrl: str
documentationUrl: str
url: str # Technically not part of spec; comes from service-registry
environment: Union[Literal["dev"], Literal["prod"]]
environment: str # TODO: Literal["dev", "prod"] if JetBrains fixes their inspection...

# TODO: put these in their own Bento object?
git_tag: str
git_branch: str

0 comments on commit 3adff1e

Please sign in to comment.