Skip to content

[typing] verify in Configuration. #99

@haoyun

Description

@haoyun

The verify parameter in the Configuration

verify (bool): Whether to verify the SSL certificate.

verify: typing.NotRequired[bool]

is passed to requests, but requests accepts a bool | str.

https://github.com/psf/requests/blob/420d16bc7ef326f7b65f90e4644adc0f6a0e1d44/src/requests/api.py#L39-L41

    :param verify: (optional) Either a boolean, in which case it controls whether we verify
            the server's TLS certificate, or a string, in which case it must be a path
            to a CA bundle to use. Defaults to ``True``.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions