Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 849 for pos5 (0.07 seconds)

  1. docs_src/extra_models/tutorial001_py310.py

        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 905 bytes
    - Click Count (0)
  2. docs_src/path_operation_advanced_configuration/tutorial004_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", summary="Create an item")
    async def create_item(item: Item) -> Item:
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:07:26 GMT 2026
    - 661 bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
            return null;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        // Filtering an array is NOT in place
                        result.acceptedApiChanges = result.acceptedApiChanges.filter((item, pos, ary) => (!pos || (JSON.stringify(item) != JSON.stringify(ary[pos - 1]))));
                        return result;
                    }
    
                    function acceptAllErrorCorrections() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. .ci/jobs.t/elastic+elasticsearch+intake.yml

          # configured git repository. This avoids duplicate builds being triggered when pushes to multiple branches are
          # done in quick succession.
          - generic-webhook-trigger:
              post-content-params:
                - type: JSONPath
                  key: ref
                  value: '$.ref'
              regex-filter-text: '$ref'
              regex-filter-expression: "^refs/heads/%BRANCH%$"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/first-steps.md

    Bir API oluştururken, "path", "concerns" ve "resources" ayrımını yapmanın ana yoludur.
    
    #### Operation { #operation }
    
    Burada "Operation", HTTP "method"larından birini ifade eder.
    
    Şunlardan biri:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...ve daha egzotik olanlar:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

                    })).status(ApiResult.Status.OK).result());
        }
    
        // POST /api/admin/pathmap/setting
        /**
         * Creates a new path mapping setting.
         *
         * @param body path mapping setting data to create
         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

                    })).status(Status.OK).result());
        }
    
        // POST /api/admin/relatedcontent/setting
        /**
         * Creates a new related content setting.
         *
         * @param body related content setting data to create
         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            byte[] fullData = new byte[totalLength];
            int pos = 0;
            System.arraycopy(avFlagsData, 0, fullData, pos, avFlagsData.length);
            pos += avFlagsData.length;
            System.arraycopy(avTimestampData, 0, fullData, pos, avTimestampData.length);
            pos += avTimestampData.length;
            System.arraycopy(avTargetNameData, 0, fullData, pos, avTargetNameData.length);
            pos += avTargetNameData.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
Back to Top