diff --git a/Pipfile.lock b/Pipfile.lock index 9f7fb86..85086c1 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -39,10 +39,10 @@ }, "certifi": { "hashes": [ - "sha256:376690d6f16d32f9d1fe8932551d80b23e9d393a8578c5633a2ed39a64861638", - "sha256:456048c7e371c089d0a77a5212fb37a2c2dce1e24146e3b7e0261736aaeaa22a" + "sha256:339dc09518b07e2fa7eda5450740925974815557727d6bd35d319c1524a04a4c", + "sha256:6d58c986d22b038c8c0df30d639f23a3e6d172a05c3583e766f4c0b785c0986a" ], - "version": "==2018.8.24" + "version": "==2018.10.15" }, "chardet": { "hashes": [ @@ -111,6 +111,13 @@ ], "version": "==1.0" }, + "marshmallow": { + "hashes": [ + "sha256:82b201ad767eb54de371c08cb1db6ca4ad2a728fa41b831e3781bf944815eb38", + "sha256:c250f37ac0e249a8287394a60d91f6240b674642ad999e66cd09463dbccd1d4f" + ], + "version": "==3.0.0b18" + }, "parse": { "hashes": [ "sha256:9dd6048ea212cd032a342f9f6aa2b7bc222f7407c7e37bdc2777fecd36897437" @@ -271,10 +278,10 @@ }, "certifi": { "hashes": [ - "sha256:376690d6f16d32f9d1fe8932551d80b23e9d393a8578c5633a2ed39a64861638", - "sha256:456048c7e371c089d0a77a5212fb37a2c2dce1e24146e3b7e0261736aaeaa22a" + "sha256:339dc09518b07e2fa7eda5450740925974815557727d6bd35d319c1524a04a4c", + "sha256:6d58c986d22b038c8c0df30d639f23a3e6d172a05c3583e766f4c0b785c0986a" ], - "version": "==2018.8.24" + "version": "==2018.10.15" }, "cffi": { "hashes": [ @@ -433,11 +440,10 @@ }, "marshmallow": { "hashes": [ - "sha256:1ca4820515332fe61cd83551afd791dd0ee16fc70cf57883f6735e5b1d9d50ed", - "sha256:e076fae11bcdd6ee94b2c78d670c2ca35583dd97cc5f1d646b851c9f53368f0a" + "sha256:82b201ad767eb54de371c08cb1db6ca4ad2a728fa41b831e3781bf944815eb38", + "sha256:c250f37ac0e249a8287394a60d91f6240b674642ad999e66cd09463dbccd1d4f" ], - "index": "pypi", - "version": "==3.0.0b17" + "version": "==3.0.0b18" }, "mccabe": { "hashes": [ @@ -590,10 +596,10 @@ }, "tqdm": { "hashes": [ - "sha256:18f1818ce951aeb9ea162ae1098b43f583f7d057b34d706f66939353d1208889", - "sha256:df02c0650160986bac0218bb07952245fc6960d23654648b5d5526ad5a4128c9" + "sha256:a0be569511161220ff709a5b60d0890d47921f746f1c737a11d965e1b29e7b2e", + "sha256:e293e6d7a7f41a529a27f8d6624ab11544ccbfe82a205af6fad102545099fc21" ], - "version": "==4.26.0" + "version": "==4.27.0" }, "twine": { "hashes": [ diff --git a/responder/api.py b/responder/api.py index 8bb0ca8..649033f 100644 --- a/responder/api.py +++ b/responder/api.py @@ -300,15 +300,15 @@ class API: return decorator def mount(self, route, asgi_app): - """Mounts a WSGI application at a given route. + """Mounts an ASGI application at a given route. :param route: String representation of the route to be used (shouldn't be parameterized). - :param wsgi_app: The other WSGI app (e.g. a Flask app). + :param asgi_app: The other ASGI app. """ self.apps.update({route: asgi_app}) def session(self, base_url="http://;"): - """Testing HTTP client. Returns a Requests session object, able to send HTTP requests to the WSGI application. + """Testing HTTP client. Returns a Requests session object, able to send HTTP requests to the Responder application. :param base_url: The URL to mount the connection adaptor to. """