Skip to content

http_types

Class info

Classes

Name Children Inherits
SecretStr
anyenv.download.http_types
Protocol for secret string objects with get_secret_value() method.

    🛈 DocStrings

    HTTP / Download types.

    SecretStr

    Bases: Protocol

    Protocol for secret string objects with get_secret_value() method.

    Source code in src/anyenv/download/http_types.py
    @runtime_checkable
    class SecretStr(Protocol):
        """Protocol for secret string objects with get_secret_value() method."""
    
        def get_secret_value(self) -> str:
            """Get the secret value as a string."""
            ...
    

    get_secret_value

    get_secret_value() -> str
    

    Get the secret value as a string.

    Source code in src/anyenv/download/http_types.py
    def get_secret_value(self) -> str:
        """Get the secret value as a string."""
        ...