Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for element (0.26 sec)

  1. docs/sts/client_grants/sts_element.py

    
    class STSElement(object):
        """STS aware XML parsing class. Wraps a root element name and
        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
            self.element = element
    
        @classmethod
        def fromstring(cls, root_name, data):
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. docs/sts/client_grants/__init__.py

    import certifi
    # Dependencies
    import urllib3
    from botocore.credentials import CredentialProvider, RefreshableCredentials
    from botocore.exceptions import CredentialRetrievalError
    from dateutil.parser import parse
    
    from .sts_element import STSElement
    
    
    class ClientGrantsCredentialProvider(CredentialProvider):
        """
        ClientGrantsCredentialProvider implements CredentialProvider compatible
        implementation to be used with boto_session
        """
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  3. ci/official/utilities/extract_resultstore_links.py

      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
                'timestamp': date_time.isoformat(date_time.utcnow())}
      testsuites = ElemTree.Element('testsuites')
      testsuite = ElemTree.SubElement(testsuites, 'testsuite')
      for url, invocation_results in result_store_dict.items():
        invocation_id = url.rsplit('/')[-1]
        if verbose:
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py

                            }
                        },
                        "tags": ["items"],
                        "summary": "Read Elements",
                        "operationId": "read_elements_elements__get",
                        "deprecated": True,
                    }
                },
            },
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. docs_src/path_operation_configuration/tutorial006.py

    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "johndoe"}]
    
    
    @app.get("/elements/", tags=["items"], deprecated=True)
    async def read_elements():
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 365 bytes
    - Viewed (0)
  6. tests/test_orjson_response_class.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    from fastapi.testclient import TestClient
    from sqlalchemy.sql.elements import quoted_name
    
    app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/orjson_non_str_keys")
    def get_orjson_non_str_keys():
        key = quoted_name(value="msg", quote=False)
        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Sep 02 10:17:31 GMT 2022
    - 562 bytes
    - Viewed (0)
Back to top