Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4811 - 4820 of 7,014 for _return (0.08 sec)

  1. docs_src/first_steps/tutorial003.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 111 bytes
    - Viewed (0)
  2. docs_src/first_steps/tutorial002.py

    from fastapi import FastAPI
    
    my_awesome_api = FastAPI()
    
    
    @my_awesome_api.get("/")
    async def root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 139 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt

    import okhttp3.Challenge
    
    fun Challenge.commonEquals(other: Any?): Boolean {
      return other is Challenge &&
        other.scheme == scheme &&
        other.authParams == authParams
    }
    
    fun Challenge.commonHashCode(): Int {
      var result = 29
      result = 31 * result + scheme.hashCode()
      result = 31 * result + authParams.hashCode()
      return result
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

        extends AbstractFilteredIterableTest<Iterable<Integer>> {
      @Override
      Iterable<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
        return Iterables.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. docs_src/app_testing/app_b_an_py310/main.py

        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item_id not in fake_db:
            raise HTTPException(status_code=404, detail="Item not found")
        return fake_db[item_id]
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

        public LastaCrawlerContainer() {
            initialize();
        }
    
        @Override
        public <T> T getComponent(final String name) {
            return SingletonLaContainerFactory.getContainer().getComponent(name);
        }
    
        @Override
        public boolean available() {
            return SingletonLaContainerFactory.hasContainer();
        }
    
        @Override
        public void destroy() {
            SingletonLaContainerFactory.destroy();
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. docs_src/background_tasks/tutorial001.py

    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
        background_tasks.add_task(write_notification, email, message="some notification")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 519 bytes
    - Viewed (0)
  8. test-site/public/javascripts/suggestor.js

                    if($boxElement.css("display") == "none") {
                        return;
                    }
    
                    if(direction == "down") {
                        listSelNum++;
                    } else if(direction == "up") {
                        listSelNum--;
                    } else {
                        return;
                    }
    
                    isFocusList = true;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 14.6K bytes
    - Viewed (0)
  9. docs_src/bigger_applications/app/internal/admin.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.post("/")
    async def update_admin():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 147 bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_an/internal/admin.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.post("/")
    async def update_admin():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 147 bytes
    - Viewed (0)
Back to top