Robert Craigie

Results 208 comments of Robert Craigie

OOC how is this blocking you? That class would just be changing the defaults and you can change the defaults yourself as well, e.g. this will be functionally exactly the...

Glad to hear it, thanks @sipfix!

We also need this to be able to migrate to ruff!

This should be fixed in the [upcoming v1 beta](https://github.com/openai/openai-python/discussions/631)! Please try it and let us know!

Not sure if this is the correct place for this issue but I've been trying to add the `@validate_arguments` function to https://github.com/RobertCraigie/prisma-client-py and it gets stuck in an infinite loop...

I would also suggest adding an argument to make model creation lazy. I'm using `validate_arguments` on a lot of auto-generated functions with a lot of recursive / nested types and...

In our [v1 beta](https://github.com/openai/openai-python/discussions/631) we've unified to a single `timeout` argument which is passed to the client constructor and can be configured per-request using `client.with_options`. ```py from openai import OpenAI...

We've moved to a client instance based API in our [upcoming v1 beta](https://github.com/openai/openai-python/discussions/631) which addresses this request! ```py from openai import OpenAI client = OpenAI( api_key=os.environ['OPENAI_API_KEY'], # this is also...

@Xmaster6y what database are you using? I can't replicate the issue with the snippet you shared running against PostgreSQL.

I appreciate it @Gnosnay! Unfortunately I think this feature isn't feasible for an external contributor that is new to this codebase as it requires a deep refactor of a large...