Skip to content

Commit

Permalink
Add input format and output format directives
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Aug 10, 2015
1 parent 533559e commit 1832f33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hug/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
"""
from hug import directives, documentation, format, input_format, output_format, run, test, types
from hug._version import current
from hug.decorators import call, connect, default_output_format, delete, get, head, options, patch, post, put, trace
from hug.decorators import (call, connect, default_input_format, default_output_format,
delete, get, head, options, patch, post, put, trace)

from hug import defaults # isort:skip - must be imported last for defaults to have access to all modules

__version__ = current
__all__ = ['run', 'types', 'test', 'input_format', 'output_format', 'documentation', 'call', 'delete', 'get', 'post',
'put', 'options', 'connect', 'head', 'patch', 'trace', 'terminal', 'format', '__version__', 'defaults',
'directives']
'directives', 'default_output_format', 'default_input_format']

0 comments on commit 1832f33

Please sign in to comment.