- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 56 for elseif (0.14 sec)
-
docs_src/security/tutorial004_an_py310.py
return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/en/layouts/custom.yml
{%- endif -%} # Font family (default: Roboto) - &font_family >- {%- if layout.font_family -%} {{ layout.font_family }} {%- elif config.theme.font != false -%} {{ config.theme.font.get("text", "Roboto") }} {%- else -%} Roboto {%- endif -%} # Site name - &site_name >- {{ config.site_name }} # Page title - &page_title >-
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jun 26 14:05:43 GMT 2023 - 6.5K bytes - Viewed (0) -
docs/en/docs/js/custom.js
}); } else if (line.startsWith(promptLiteralStart)) { saveBuffer(); const value = line.replace(promptLiteralStart, "").trimEnd(); useLines.push({ type: "input", value: value }); } else if (line.startsWith("// ")) {
JavaScript - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 08 17:50:56 GMT 2021 - 6.6K bytes - Viewed (0) -
docs_src/request_files/tutorial001_02.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 508 bytes - Viewed (0) -
docs_src/python_types/tutorial009.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 12 21:44:23 GMT 2020 - 164 bytes - Viewed (0) -
docs/en/docs/js/termynal.js
JavaScript - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 9.3K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial014_an_py310.py
app = FastAPI() @app.get("/items/") async def read_items( hidden_query: Annotated[str | None, Query(include_in_schema=False)] = None, ): if hidden_query: return {"hidden_query": hidden_query} else:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 331 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial014.py
app = FastAPI() @app.get("/items/") async def read_items( hidden_query: Union[str, None] = Query(default=None, include_in_schema=False), ): if hidden_query: return {"hidden_query": hidden_query} else:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 330 bytes - Viewed (0) -
docs_src/additional_status_codes/tutorial001.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 684 bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 5.1K bytes - Viewed (0)