Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for Pearson (0.04 seconds)

  1. fastapi/exceptions.py

                    """
                ),
            ],
            reason: Annotated[
                Union[str, None],
                Doc(
                    """
                    The reason to close the WebSocket connection.
    
                    It is UTF-8-encoded data. The interpretation of the reason is up to the
                    application, it is not specified by the WebSocket specification.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class"),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  3. tests/utils.py

    import sys
    
    import pytest
    
    needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+")
    needs_py310 = pytest.mark.skipif(
        sys.version_info < (3, 10), reason="requires python3.10+"
    )
    needs_py_lt_314 = pytest.mark.skipif(
        sys.version_info >= (3, 14), reason="requires python3.13-"
    )
    
    
    def skip_module_if_py_gte_314():
        """Skip entire module on Python 3.14+ at import time."""
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 518 bytes
    - Click Count (0)
  4. tests/test_read_with_orm_mode.py

            full_name: str
    
            model_config = {"from_attributes": True}
    
        app = FastAPI()
    
        @app.post("/people/", response_model=PersonRead)
        def create_person(person: PersonCreate) -> Any:
            db_person = Person.model_validate(person)
            return db_person
    
        client = TestClient(app)
    
        person_data = {"name": "Dive", "lastname": "Wilson"}
        response = client.post("/people/", json=person_data)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. tests/test_jsonable_encoder.py

    from pydantic import BaseModel, Field, ValidationError
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    class Pet:
        def __init__(self, owner: Person, name: str):
            self.owner = owner
            self.name = name
    
    
    @dataclass
    class Item:
        name: str
        count: int
    
    
    class DictablePerson(Person):
        def __iter__(self):
    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)
  6. docs_src/python_types/tutorial010_py39.py

    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    def get_person_name(one_person: Person):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 144 bytes
    - Click Count (0)
  7. tests/test_tutorial/test_python_types/test_tutorial010.py

    from docs_src.python_types.tutorial010_py39 import Person, get_person_name
    
    
    def test_get_person_name():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 166 bytes
    - Click Count (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py

        mod = importlib.import_module(
            f"docs_src.query_params_str_validations.{request.param}"
        )
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.xfail(
        reason="Code example is not valid. See https://github.com/fastapi/fastapi/issues/12419"
    )
    def test_query_params_str_validations_no_query(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                return Violation.accept(member, "${rejection.getHumanExplanation()}. Reason for accepting this: <b>$acceptationReason</b>")
            } else if (member instanceof JApiMethod && UpgradedProperties.shouldAcceptForUpgradedProperty(member, rejection, context)) {
                seenApiChanges.add(change)
                return Violation.accept(member, "${rejection.getHumanExplanation()}. Reason for accepting this: <b>Upgraded property</b>")
            }
    
    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)
  10. docs/ru/docs/python-types.md

    ////
    
    ### Классы как типы { #classes-as-types }
    
    Вы также можете объявлять класс как тип переменной.
    
    Допустим, у вас есть класс `Person` с именем:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Тогда вы можете объявить переменную типа `Person`:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    И снова вы получите полную поддержку редактора кода:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top