- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for startswith (0.18 sec)
-
docs_src/generate_clients/tutorial004.js
if (operation.tags && operation.tags.length > 0) { const tag = operation.tags[0] const operationId = operation.operationId const toRemove = `${tag}-` if (operationId.startsWith(toRemove)) { const newOperationId = operationId.substring(toRemove.length) operation.operationId = newOperationId } } } } await fs.promises.writeFile(
JavaScript - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 14 11:40:05 GMT 2024 - 1K bytes - Viewed (0) -
fastapi/encoders.py
for key, value in obj.items(): if ( ( not sqlalchemy_safe or (not isinstance(key, str)) or (not key.startswith("_sa")) ) and (value is not None or not exclude_none) and key in allowed_keys ): encoded_key = jsonable_encoder( key,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
scripts/docs.py
lang = lang.lower() return lang def complete_existing_lang(incomplete: str): lang_path: Path for lang_path in get_lang_paths(): if lang_path.is_dir() and lang_path.name.startswith(incomplete): yield lang_path.name @app.callback() def callback() -> None: if is_mkdocs_insiders(): os.environ["INSIDERS_FILE"] = "../en/mkdocs.insiders.yml"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 10.9K bytes - Viewed (1) -
fastapi/_compat.py
from typing_extensions import Annotated, Literal, get_args, get_origin # Reassign variable to make it reexported for mypy PYDANTIC_VERSION = P_VERSION PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.") sequence_annotation_to_type = { Sequence: list, List: list, list: list, Tuple: tuple, tuple: tuple, Set: set, set: set, FrozenSet: frozenset,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
fastapi/routing.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0)