podpac.authentication.S3Mixin
- class podpac.authentication.S3Mixin(**kwargs: Any)[source]
Bases:
HasTraits
Mixin to add S3 credentials and access to a Node.
Methods
__init__
(*args, **kwargs)trait_defaults
(*names, **metadata)Return a trait's default value or a dictionary of them
trait_has_value
(name)Returns True if the specified trait has a value.
trait_values
(**metadata)A
dict
of trait names and their values.Attributes
A boolean (True, False) trait.
A trait for unicode strings.
An instance of a Python dict.
A trait for unicode strings.
A boolean (True, False) trait.
A trait for unicode strings.
An instance of a Python dict.
- Members:
- __init__(*args, **kwargs)
- anon
A boolean (True, False) trait.
- aws_access_key_id
A trait for unicode strings.
- aws_client_kwargs
An instance of a Python dict.
One or more traits can be passed to the constructor to validate the keys and/or values of the dict. If you need more detailed validation, you may use a custom validator method.
Changed in version 5.0: Added key_trait for validating dict keys.
Changed in version 5.0: Deprecated ambiguous
trait
,traits
args in favor ofvalue_trait
,per_key_traits
.
- aws_region_name
A trait for unicode strings.
- aws_requester_pays
A boolean (True, False) trait.
- aws_secret_access_key
A trait for unicode strings.
- config_kwargs
An instance of a Python dict.
One or more traits can be passed to the constructor to validate the keys and/or values of the dict. If you need more detailed validation, you may use a custom validator method.
Changed in version 5.0: Added key_trait for validating dict keys.
Changed in version 5.0: Deprecated ambiguous
trait
,traits
args in favor ofvalue_trait
,per_key_traits
.
- property s3