Skip to main content

some useful scalars

Usage

from tartiflette import Scalar
from tartiflette_scalars import Json, ObjectId, AnyScalar

Scalar("Json")(Json) # gets anything

Scalar("AnyScalar")(AnyScalar) # infer the type, "2" becomes 2, "true" becomes True, etc.

Scalar("ObjectId")(ObjectId) # transform a 16 characters string into a bson.ObjectId

Metadata

Release files for tartiflette-scalars 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tartiflette-scalars 0.0.6
File Size Uploaded Provenance
tartiflette_scalars-0.0.6.tar.gz 2.1 kB Without provenance Details

Release files / tartiflette_scalars-0.0.6.tar.gz

Download URL tartiflette_scalars-0.0.6.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
da3223c72ca84192435a8c43592c646bdcc79979f9f342bad8260815ce2e436a
BLAKE2b-256 checksum
How to use checksums
e9d59e75c44a41e661115e035b6f251f0241cf2a503527f39caf165bc4e0ec22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Security for tartiflette-scalars 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page