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 0.0.1
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-0.0.1.tar.gz | 2.2 kB | Details |
Release files / tartiflette-plugin-time-it-0.0.1.tar.gz
| Download URL | tartiflette-plugin-time-it-0.0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d198abce967e739b2ef92a64ccb4b20131d61fe689b7dc257474920fcf8c07bc
|
|
BLAKE2b-256 checksum How to use checksums |
68d773123b833d974a91cd8009ac94de49e2240d6252fed308a504312973800d
|
| 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
|