Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 225 for remove (0.21 sec)

  1. docs_src/websockets/tutorial003.py

        async def connect(self, websocket: WebSocket):
            await websocket.accept()
            self.active_connections.append(websocket)
    
        def disconnect(self, websocket: WebSocket):
            self.active_connections.remove(websocket)
    
        async def send_personal_message(self, message: str, websocket: WebSocket):
            await websocket.send_text(message)
    
        async def broadcast(self, message: str):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Aug 09 13:52:19 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  2. tests/test_params_repr.py

            # TODO: remove when deprecating Pydantic v1
            "Param(Ellipsis)",
        )
    
    
    def test_param_repr_number():
        assert repr(Param(1)) == "Param(1)"
    
    
    def test_param_repr_list():
        assert repr(Param([])) == "Param([])"
    
    
    def test_path_repr():
        assert repr(Path()) == IsOneOf(
            "Path(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py

                                        "title": "Q",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {
                                        "title": "Q",
                                        "type": "array",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_params/test_tutorial003.py

                                        ],
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {
                                        "title": "X-Token",
                                        "type": "array",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 12 14:52:00 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py

                                        "title": "User-Agent",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {"title": "User-Agent", "type": "string"}
                                ),
                                "name": "user-agent",
                                "in": "header",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_params/test_tutorial002_an.py

                                        "title": "Strange Header",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {"title": "Strange Header", "type": "string"}
                                ),
                                "name": "strange_header",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. tests/test_additional_properties_bool.py

                                            "title": "Foo",
                                        }
                                    )
                                    | IsDict(
                                        # TODO: remove when deprecating Pydantic v1
                                        {"$ref": "#/components/schemas/Foo"}
                                    )
                                }
                            }
                        },
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_header_params/test_tutorial002_py310.py

                                        "title": "Strange Header",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {"title": "Strange Header", "type": "string"}
                                ),
                                "name": "strange_header",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_handling_errors/test_tutorial005.py

                        "input": "XL",
                    }
                ],
                "body": {"title": "towel", "size": "XL"},
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "size"],
                        "msg": "value is not a valid integer",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. tests/test_union_body.py

                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            }
                        )
                        | IsDict(
                            # TODO: remove when deprecating Pydantic v1
                            {"name": {"title": "Name", "type": "string"}}
                        ),
                    },
                    "ValidationError": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
Back to top