@zitify() decorator does not return the result of the wrapped function

Summary

The @openziti.zitify() decorator currently does not return the result of the wrapped function, which leads to unexpected behavior when trying to use the function's return value outside its scope.

Steps to Reproduce

@openziti.zitify()
def query_emr(url, sql):
    r = requests.post(url, json={"sql": sql})
    return r.json()

output = query_emr("https://example.com", "SELECT * FROM table")
print(output)  # Expected to see the JSON response, but prints `None`


is this expected behaviour?

this certainly sounds like a bug. added an issue: `zitify` decorator does not return wrapped function result · Issue #79 · openziti/ziti-sdk-py · GitHub

additional issue
ncompatibility with async clients like httpx.AsyncClient

While using the openziti.monkeypatch() approach works well with synchronous libraries like requests, it fails when used with httpx.AsyncClient. Here's an example:

async with httpx.AsyncClient(cert=pem_path, verify=False, timeout=30.0) as client:
    with openziti.monkeypatch(context=ztx):
        response = await client.post(url, json=payload)

This raises the following error:

TypeError: ZitiSocket.__init__() got an unexpected keyword argument 'family'
is it expected, how to make this works on async method?

Both issues have been fixed and released in v1.2.0

Thanks it works for api request.
Btw do u have any sample example to use zitify to connect mssql or postgres db