Skip to main content

Example Usage

def get_prefetch_queryset(self, instances, queryset=None):
    query = {'%s__in' % self.field.name: instances}

    from py_debug_inspect_utils import debug_print
    debug_print(query=query)

Output:

/Users/Development/venv/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py:625 (get_prefetch_queryset)
()
{'query': {'attribute__in': [<Attribute: Flavor>]}}

Metadata

Release files for py-debug-inspect-utils 0.1.0

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

Source distribution (sdist)

Source distribution for py-debug-inspect-utils 0.1.0
File Size Uploaded
py-debug-inspect-utils-0.1.0.tar.gz 1.7 kB Details

Release files / py-debug-inspect-utils-0.1.0.tar.gz

Download URL py-debug-inspect-utils-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d78cd60f9f0090ec28c10c3d03123aed2ea6466ffec960f470f22d6d26aa4588
BLAKE2b-256 checksum
How to use checksums
523528a3ce9269bd8c2d9e24cc5724c383ad186f2dcdc585cd0f8efbcf3cdba9
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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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