Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
ext_rfc4178.pyi28 linesDownload Raw Back to raw
1import typing as t2 3if t.TYPE_CHECKING:4    from gssapi.raw.creds import Creds5    from gssapi.raw.oids import OID6 7 8def set_neg_mechs(9    cred_handle: "Creds",10    mech_set: t.Iterable["OID"],11) -> None:12    """13    Specify the set of security mechanisms that may be negotiated with14    the credential identified by cred_handle.15    If more than one mechanism is specified in mech_set, the order in16    which those mechanisms are specified implies a relative preference.17 18    Args:19        cred_handle (Creds): credentials to set negotiable mechanisms for20        mech_set (~gssapi.raw.types.MechType): negotiable mechanisms to be set21 22    Returns:23        None24 25    Raises:26        ~gssapi.exceptions.GSSError27    """28 
codekingpro/portable-devtools · Team Ai