Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 2,167 for myitem (0.03 sec)

  1. tests/test_union_body.py

    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}
    
    
    client = TestClient(app)
    
    
    def test_post_other_item():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial002.py

                        },
                        "summary": "Update Item",
                    },
                },
            },
            "components": {
                "schemas": {
                    "Body_update_item_items__item_id__put": {
                        "properties": {
                            "item": {
                                "$ref": "#/components/schemas/Item",
                            },
                            "user": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging old log entries from the system.
     * This job removes old crawling sessions, search logs, job logs, and user info logs
     * based on configured retention periods. It helps maintain system performance by
     * preventing log tables from growing too large.
     */
    public class PurgeLogJob {
    
        /** Logger instance for this class */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          }
        } catch (re: RuntimeException) {
          // Happens with non-robolectric unit tests
          System.err.println("Possibly running android unit test without robolectric")
          re.printStackTrace()
        } catch (ule: UnsatisfiedLinkError) {
          // Happens with Paparazzi - with Android classes on the classpath
          System.err.println("Possibly running android unit test without robolectric")
          ule.printStackTrace()
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 25 11:16:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. tests/test_union_inherited_body.py

    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}
    
    
    client = TestClient(app)
    
    
    def test_post_extended_item():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId = crawler.execute();
    
                // Wait for crawler to start running with polling
                long startTime = System.currentTimeMillis();
                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

    DESCRIPTIONS = {
        "tutorial003": "Create an item with all the information, name, description, price, tax and a set of unique tags",
        "tutorial004": dedent("""
            Create an item with all the information:
    
            - **name**: each item must have a name
            - **description**: a long description
            - **price**: required
            - **tax**: if the item doesn't have tax, you can omit this
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/guide/GetExample.java

        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
        String response = example.run("https://raw.github.com/square/okhttp/master/README.md");
        System.out.println(response);
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                }
                item = newItem;
            }
    
            /**
             * Writes the old item to the new file.
             *
             * @param oldItem The old item.
             * @return The new item if it was updated, otherwise the old item.
             */
            public KuromojiItem write(final KuromojiItem oldItem) {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_message_hi.properties

    constraints.URL.message = {item} एक मान्य URL नहीं है।
    constraints.Required.message = {item} आवश्यक है।
    constraints.TypeInteger.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeLong.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeFloat.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeDouble.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeAny.message = {item} को {propertyType} में परिवर्तित नहीं किया जा सकता।
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 07 14:13:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top