Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for Product (0.09 sec)

  1. tests/test_request_body_parameters_media_type.py

    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    async def create_product(data: Product = Body(media_type=media_type, embed=True)):
        pass  # pragma: no cover
    
    
    @app.post("/shops")
    async def create_shop(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      float product[4] = {0};
      EXPECT_EQ(sizeof(product), TF_TensorByteSize(t));
      memcpy(&product[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(7, product[0]);
      EXPECT_EQ(10, product[1]);
      EXPECT_EQ(15, product[2]);
      EXPECT_EQ(22, product[3]);
    
      TFE_DeleteTensorHandle(h0_task0);
      TFE_DeleteTensorHandle(h1_task0);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 12 00:14:22 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  3. tests/test_get_request_body.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Product(BaseModel):
        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    Google Guice - Core Library Copyright 2006-2022 Google, Inc. This product includes software developed at The Apache Software Foundation (http://www.apache.org/). META-INF/NOTICE in archive lib/plexus-utils-3.2.1.jar This product includes software developed by the Indiana University Extreme! Lab (http://www.extreme.indiana.edu/). This product includes software developed by The Apache Software Foundation (http://www.apache.org/). This product includes software developed by ThoughtWorks (http://www.thoughtworks.com)....
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 10 19:27:25 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_remote_test_util.cc

      TFE_DeleteTensorHandle(retval_task0);
      float product[4] = {0};
      EXPECT_EQ(sizeof(product), TF_TensorByteSize(t));
      memcpy(&product[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(7, product[0]);
      EXPECT_EQ(10, product[1]);
      EXPECT_EQ(15, product[2]);
      EXPECT_EQ(22, product[3]);
    
      TFE_DeleteTensorHandle(h0_task0);
      TFE_DeleteTensorHandle(h1_task0);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  6. dbflute_fess/dfprop/conditionBeanMap.dfprop

    #     # This means that String includes GreaterThan at MEMBER.MEMBER_ACCOUNT only
    #     # and LessThan at PRODUCT.PRODUCT_NAME and PRODUCT.PRODUCT_HANDLE_CODE,
    #     # and InScope for LONGVARCHAR(e.g. text type) is excluded.
    #     ; String = map:{
    #         ; GreaterThan = map:{ MEMBER = list:{ MEMBER_ACCOUNT } }
    #         ; LessThan = map:{ PRODUCT = list:{ PRODUCT_NAME ; PRODUCT_HANDLE_CODE } }
    #         ; !InScope = map:{ $$ALL$$ = list:{ type:LONGVARCHAR } }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 4K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/sequenceMap.dfprop

    #     ; MEMBER       = SEQ_MEMBER
    #     ; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
    #     ; PRODUCT      = SEQ_PRODUCT
    # }
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
        #; PURCHASE     = SEQ_PURCHASE
        #; MEMBER       = SEQ_MEMBER
        #; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
        #; PRODUCT      = SEQ_PRODUCT
    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 717 bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea to improve Istio
    
    ---
    (This is used to request new product features, please visit <https://github.com/istio/istio/discussions> for questions on using Istio)
    
    **Describe the feature request**
    
    **Describe alternatives you've considered**
    
    **Affected product area (please put an X in all that apply)**
    
    [ ] Ambient
    [ ] Docs
    [ ] Dual Stack
    [ ] Installation
    [ ] Networking
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Feb 12 19:42:48 UTC 2024
    - 707 bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/bug_report.yml

      - type: checkboxes
        id: security-check
        attributes:
          label: Is this the right place to submit this?
          description: |-
            This is used to report product bugs:
            To report a security vulnerability, please visit <https://istio.io/about/security-vulnerabilities>.
            Any crashes are potentially security vulnerabilities and should be treated as such.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 10 15:17:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. NOTICE

    Apache Maven
    Copyright 2001-2019 The Apache Software Foundation
    
    This product includes software developed at
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 16 22:18:37 UTC 2019
    - 166 bytes
    - Viewed (0)
Back to top