From 31f1cca6d3589c2ba914dc15674d524078e9b26b Mon Sep 17 00:00:00 2001 From: jamesstidard Date: Mon, 27 Mar 2017 22:14:42 +0100 Subject: [PATCH] update parse docs --- sanic_envconfig/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sanic_envconfig/__init__.py b/sanic_envconfig/__init__.py index 283cd2d..1e8c6b6 100644 --- a/sanic_envconfig/__init__.py +++ b/sanic_envconfig/__init__.py @@ -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