Robert Coup
beb8943eef
Secret: add a __bool__ implementation ( #1625 )
...
Allows using `if settings.A_SECRET:` to check for empty/None without needing to
cast it to a str.
2022-05-06 00:01:28 +02:00
Petter Friberg
1ea624bf10
Add overload for cast as Callable in Config.__call__ ( #1378 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-02-08 10:51:52 +00:00
Tom Christie
00e8300804
Ignore gnarly type check in WSGI implementation ( #756 )
...
* Ignore gnarly type check in WSGI implementation
* Linting
2019-12-17 11:14:57 +00:00
Trim21
d2b65c3c99
support Path in Config ( #755 )
...
* support Path in Config
* fix broken tests
2019-12-17 09:57:02 +00:00
Daniel Hahler
3eb2b13ab0
config: cast=bool: handle "0" and "1" as False/True ( #429 )
...
* config: cast=bool: handle "0" and "1" as False/True
* tests: use monkeypatch.setenv
2019-03-08 19:28:08 +00:00
Tom Christie
e396f079a5
Version 0.11 ( #402 )
...
* Add Mount(routes=...)
* Lifespan route instance
* Lifespan as a standard routing component
* Linting
* Linting
* Version 0.10.6
* Release notes
* Version 0.11.0
* Drop redundant import
* Drop redundant database requirements
* Include htmlcov in scripts/clean
* Drop redundant import
* Release notes
* Linting
2019-02-19 12:54:57 +00:00
Tom Christie
08af34763d
Version 0.9.4 ( #251 )
2018-12-05 16:38:45 +00:00
Tom Christie
5712d95017
Add Secret
2018-12-05 12:38:54 +00:00
Tom Christie
d2512656e3
Add Environ, DatabaseURL
2018-12-05 12:28:18 +00:00
Tom Christie
1a20c63f14
Add Config() ( #250 )
...
* Add Config()
* Fix STARLETTE_TEST_DATABASE in tests
2018-12-05 11:53:38 +00:00