Skip to content

Commit

Permalink
update parse docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesstidard committed Mar 27, 2017
1 parent ccce2e6 commit 31f1cca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sanic_envconfig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ class EnvConfig(metaclass=EnvConfigMeta):
@staticmethod
def parse(type: Type):
"""
Register an environ parser for a attribute type.
Register a parser for a attribute type.
Parsers will be used to parse `str` type objects from either
the commandline arguments or environment variables.
Args:
type: the type the decorated function will be responsible
Expand Down

0 comments on commit 31f1cca

Please sign in to comment.