Skip to content

Commit

Permalink
Add more stuff to the public api.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Feb 27, 2020
1 parent ad69360 commit db16e65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mush/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
from .declarations import (
requires,
returns_result_type, returns_mapping, returns_sequence, returns,
Value, nothing
Value, Requirement, nothing
)
from .extraction import extract_requires, extract_returns, update_wrapper
from .markers import missing
from .plug import Plug
from .context import Context, ContextError
from .asyncio import AsyncContext
Expand All @@ -14,7 +15,8 @@
'Runner',
'requires',
'returns_result_type', 'returns_mapping', 'returns_sequence', 'returns',
'Value',
'Value', 'Requirement',
'Plug', 'nothing',
'update_wrapper',
'missing',
]
2 changes: 2 additions & 0 deletions mush/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ def __repr__(self):


not_specified = Marker('not_specified')

#: A sentinel object to indicate that a value is missing.
missing = Marker('missing')

0 comments on commit db16e65

Please sign in to comment.