- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for childAt (0.74 sec)
-
docs/sts/client_grants/__init__.py
creds = result.find('Credentials') return dict( access_key=creds.get_child_text('AccessKeyId'), secret_key=creds.get_child_text('SecretAccessKey'), token=creds.get_child_text('SessionToken'), expiry_time=parse(creds.get_child_text('Expiration')).isoformat())
Python - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Viewed (1) -
docs/sts/client_grants/sts_element.py
""" elt = self.element.find('sts:{}'.format(name), _STS_NS) return STSElement(self.root_name, elt) if elt is not None else None def get_child_text(self, name, strict=True): """Extract text of a child element. If strict, and child element is not present, raises InvalidXMLError and otherwise returns None. """ if strict: try:
Python - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 2.5K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
@needs_pydanticv2 def test_decimal_encoder_int(): data = {"value": Decimal(2)} assert jsonable_encoder(data) == {"value": 2} def test_encode_deque_encodes_child_models(): class Model(BaseModel): test: str dq = deque([Model(test="test")]) assert jsonable_encoder(dq)[0]["test"] == "test" @needs_pydanticv2
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 9K bytes - Viewed (0) -
scripts/mkdocs_hooks.py
first_child = new_children[0] if isinstance(first_child, Page): if first_child.file.src_path.endswith("index.md"): # Read the source so that the title is parsed and available first_child.read_source(config=config) new_title = first_child.title or new_title
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 5.1K bytes - Viewed (0)