Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 6,703 for RETURN (0.07 sec)

  1. docs_src/custom_request_and_route/tutorial001.py

                self._body = body
            return self._body
    
    
    class GzipRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                request = GzipRequest(request.scope, request.receive)
                return await original_route_handler(request)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 973 bytes
    - Viewed (0)
  2. docs_src/generate_clients/tutorial003_py39.py

    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      ): FakeDns {
        hostAddresses[hostname] = addresses
        return this
      }
    
      /** Clears the results for `hostname`.  */
      fun clear(hostname: String): FakeDns {
        hostAddresses.remove(hostname)
        return this
      }
    
      @Throws(UnknownHostException::class)
      fun lookup(
        hostname: String,
        index: Int,
      ): InetAddress {
        return hostAddresses[hostname]!![index]
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            dstIndex += 2;
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

        }
    
        public Severity getSeverity() {
            return severity;
        }
    
        public Version getVersion() {
            return version;
        }
    
        public Exception getException() {
            return exception;
        }
    
        public ModelProblemCollectorRequest setException(Exception exception) {
            this.exception = exception;
            return this;
        }
    
        public String getMessage() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exentity/Role.java

        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            questionName.hexCode = tmp;
            return result;
        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return 0;
        }
        int writeRDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readRDataWireFormat( byte[] src, int srcIndex ) {
            return 0;
        }
        public String toString() {
            return new String( "NodeStatusRequest[" +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

                }
                return entity;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(duplicateHost.getId()).created(true).status(Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final Integer pageNumber, final SearchForm form) {
            saveToken();
            searchLogPager.setCurrentPageNumber(pageNumber);
            return asHtml(path_AdminSearchlog_AdminSearchlogJsp).renderWith(data -> {
                searchPaging(data, form);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Enums.java

          return Enum.valueOf(enumClass, value);
        }
    
        @Override
        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) object;
            return this.enumClass.equals(that.enumClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top