Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/o/botocore-HEAD/tests/unit/test_credentials.py   botocore(Download)
        self.session = create_session(session_vars=TESTENVVARS)
        self.default_resolver = credentials.CredentialResolver(
            session=self.session
        )
        self.small_resolver = credentials.CredentialResolver(
            session=self.session,
    def test_custom_init(self):
        resolver = credentials.CredentialResolver(methods=[
            credentials.BotoProvider(),
            credentials.ConfigProvider()
        ])
        self.session = create_session(session_vars=TESTENVVARS)
        self.small_resolver = credentials.CredentialResolver(
            session=self.session,
            methods=[
                credentials.BotoProvider(),