tartiflette-plugin-time-it
Allows you to view field time execution in your log as easily as :
type Example {
aField: String @timeIt
}
By default the timeIt directive will use it's own logger retrieved by logging.getLogger("__name__").
If called with useLogger: false it will use the print statement.
At init time, using the create_engine api, you can pass your own logger to the directive.
engine = await create_engine(sdl, modules=[{"name": "tartiflette_plugin_time_it", "config": {"logger": myLogger()}}])
Metadata
Release files for tartiflette-plugin-time-it 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tartiflette-plugin-time-it-1.0.0.tar.gz | 2.5 kB | Details |
Release files / tartiflette-plugin-time-it-1.0.0.tar.gz
| Download URL | tartiflette-plugin-time-it-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4df99a9b4e2e50ff8a74c6349c2b8d3a7f2814bfa5bc52365fafe2d49d56c80
|
|
BLAKE2b-256 checksum How to use checksums |
affaaea6e891abe0144b590e31507727d3c6cb8cb8e8bd9623da042898f258c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|