Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 632 for Bunton (0.18 sec)

  1. tests/test_union_body.py

    from typing import Optional, Union
    
    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class OtherItem(BaseModel):
        price: int
    
    
    @app.post("/items/")
    def save_union_body(item: Union[OtherItem, Item]):
        return {"item": item}
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. tests/test_union_inherited_body.py

    from typing import Optional, Union
    
    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. docs_src/websockets/tutorial002.py

                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
            var ws = null;
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Nov 13 16:10:54 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  4. docs_src/websockets/tutorial002_an.py

                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
            var ws = null;
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial002_an_py39.py

                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
                <button onclick="connect(event)">Connect</button>
                <hr>
                <label>Message: <input type="text" id="messageText" autocomplete="off"/></label>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
            var ws = null;
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/common/admin/crud/buttons.jsp

    	</button>
    	</c:if>
    </c:if>
    <c:if test="${crudMode == 2}">
    	<button type="submit" class="btn btn-default" name="edit" value="back">
    		<em class="fa fa-arrow-circle-left">
    		<la:message key="labels.crud_button_back" />
    	</button>
    	<c:if test="${editable}">
    	<button type="submit" class="btn btn-success" name="update"
    		value="<la:message key="labels.crud_button_update" />">
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Feb 10 12:37:20 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/suggest/admin_suggest.jsp

                                                            <button type="button" class="btn btn-danger btn-xs"
                                                                    name="deleteAllWords"
                                                                    data-toggle="modal" data-target="#confirmToAllDelete"
                                                                    value="<la:message key="labels.design_delete_button" />">
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 18.1K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/storage/admin_storage.jsp

                                                        <button type="button" class="btn btn-outline-secondary"
                                                                data-dismiss="modal">
                                                            <la:message key="labels.crud_button_cancel"/>
                                                        </button>
                                                        <button type="submit" class="btn btn-success" name="createDir">
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu May 26 01:48:41 GMT 2022
    - 20.4K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler_details.jsp

                                            <em class="fa fa-pencil-alt">
                                            <la:message key="labels.crud_button_edit"/>
                                        </button>
                                        <c:if test="${!running and !systemJobId}">
                                            <button type="button" class="btn btn-danger" name="delete"
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 12K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog_details.jsp

                                                                    data-dismiss="modal">
                                                                <la:message key="labels.crud_button_cancel"/>
                                                            </button>
                                                            <button type="submit" class="btn btn-outline-light"
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 9.9K bytes
    - Viewed (0)
Back to top