Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for read_dict (0.05 sec)

  1. tests/test_response_by_alias.py

    
    @app.get("/dict", response_model=Model, response_model_by_alias=False)
    def read_dict():
        return {"alias": "Foo"}
    
    
    @app.get("/model", response_model=Model, response_model_by_alias=False)
    def read_model():
        return Model(alias="Foo")
    
    
    @app.get("/list", response_model=List[Model], response_model_by_alias=False)
    def read_list():
        return [{"alias": "Foo"}, {"alias": "Bar"}]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. RELEASE.md

        have resulted in an error. When this happens, a noop is returned and the
        input tensors are marked non-feedable. In other words, if they are used as
        keys in `feed_dict` argument to `session.run()`, an error will be raised.
        Also, because some assert ops don't make it into the graph, the graph
        structure changes. A different graph can result in different per-op random
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top