We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the metacall.Descriptor function in metacall

To help you get started, we’ve selected a few metacall examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FooSoft / metacall / metacall.py View on Github external
def wrapper(func):
        assert func.func_code.co_argcount == len(types)
        func.descriptor = Descriptor(func.func_code.co_name, types)
        return func

metacall

A library for providing inter-language foreign function interface calls

Apache-2.0
Latest version published 1 month ago

Package Health Score

78 / 100
Full package analysis

Similar packages