Add FFI type hinting #435
Labels
area:v3
Relating to the pact.v3 module
difficulty:easy
A simple task appropriate for newcomers to the codebase
smartbear-supported
This issue is supported by SmartBear
type:chore
Part of regular code upkeep
Have you read the Contributing Guidelines on issues?
Description
_ffi.pyi
with type hintingHas this been requested on Canny?
No response
Motivation
The Rust FFI is wrapped by the Python CFFI package and a
_ffi.cpython-*.so
binary library is created. The binary library functions at runtime as a Python module, but obviously cannot be edited to add type hinting.Instead, it is possible to add a
_ffi.pyi
file which provides type hinting in a separate file to the core implementation irrespective of whether the implementation being a Python text file, or a binary library.Have you tried building it?
No response
Self-service
The text was updated successfully, but these errors were encountered: