Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 99 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. .github/workflows/stale-issues.yml

              operations-per-run: 1000
              days-before-issue-stale: 7
              days-before-issue-close: 7
              stale-issue-label: "stale"
              # reason for closed the issue default value is not_planned
              close-issue-reason: completed
              # List of labels to remove when issues/PRs unstale. 
              labels-to-remove-when-unstale: 'stat:awaiting response'
              only-labels: "stat:awaiting response"
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Nov 01 08:08:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. 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)
  9. fastapi/exception_handlers.py

        )
    
    
    async def websocket_request_validation_exception_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ) -> None:
        await websocket.close(
            code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 16 17:21:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
              reason = controlFrameBuffer.readUtf8()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 10K bytes
    - Click Count (0)
Back to Top