- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for role (0.06 seconds)
-
tests/test_jsonable_encoder.py
data = ModelV1(name="test") with pytest.raises(PydanticV1NotSupportedError): jsonable_encoder(data) def test_encode_model_with_config(): model = ModelWithConfig(role=RoleEnum.admin) assert jsonable_encoder(model) == {"role": "admin"} def test_encode_model_with_alias_raises(): with pytest.raises(ValidationError): ModelWithAlias(foo="Bar") def test_encode_model_with_alias():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
<br> <p> If you did this intentionally, please accept the change and provide an explanation: <a class="btn btn-info" role="button" data-toggle="collapse" href="#accept-${changeId}" aria-expanded="false" aria-controls="collapseExample">Accept this change</a> <div class="collapse" id="accept-${changeId}"> <div class="well">
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/de/llm-prompt.md
»»» Do NOT translate with (German) – notice the hyphen: ««« # FastAPI in Containern - Docker { #fastapi-in-containers-docker } »»» 3.1) Do not apply rule 3 when there is no space before or no space after the hyphen. Example: Source (English): ««« ## Type hints and annotations { #type-hints-and-annotations } »»»Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 09:39:53 GMT 2025 - 11.9K bytes - Click Count (0) -
scripts/translate.py
5) Apply above rules also when there is an existing translation! Make sure that all title attributes in abbr elements get properly translated or updated, using the schemes given above. However, leave the ADDITIONAL abbr's from rule 4 alone. Do not change their formatting or content. """ app = typer.Typer()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers import org.intellij.lang.annotations.Language import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Rule import org.junit.rules.TemporaryFolder import java.io.File import java.nio.file.Files abstract class AbstractBinaryCompatibilityTest { @get:Rule val tmpDir = TemporaryFolder() privateCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 18K bytes - Click Count (0) -
fastapi/param_functions.py
dependency. The term "scope" comes from the OAuth2 specification, it seems to be intentionally vague and interpretable. It normally refers to permissions, in cases to roles. These scopes are integrated with OpenAPI (and the API docs at `/docs`). So they are visible in the OpenAPI specification. ) """ ), ] = None,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 63K bytes - Click Count (0) -
docs/en/docs/release-notes.md
* 👷 Update build-docs GitHub Action path filter. PR [#11354](https://github.com/tiangolo/fastapi/pull/11354) by [@tiangolo](https://github.com/tiangolo). * 🔧 Update Ruff config, add extra ignore rule from SQLModel. PR [#11353](https://github.com/tiangolo/fastapi/pull/11353) by [@tiangolo](https://github.com/tiangolo).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0)