Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3811 - 3820 of 6,918 for RETURN (0.04 sec)

  1. docs_src/response_model/tutorial003_04_py310.py

    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 352 bytes
    - Viewed (0)
  2. docs_src/settings/app02/main.py

    from functools import lru_cache
    
    from fastapi import Depends, FastAPI
    
    from .config import Settings
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return Settings()
    
    
    @app.get("/info")
    async def info(settings: Settings = Depends(get_settings)):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 406 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/RelatedQuery.java

    public class RelatedQuery extends BsRelatedQuery {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java

      @Override
      public SampleElements<Object> samples() {
        return new Colliders();
      }
    
      @Override
      public Object[] createArray(int length) {
        return new Object[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<Object> order(List<Object> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

            break
          }
          val codePoint = prefix.readUtf8CodePoint()
          if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) {
            return false
          }
        }
        return true
      } catch (_: EOFException) {
        return false // Truncated UTF-8 sequence.
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

        super(message);
        this.conflicts = conflicts;
        this.source = source;
      }
    
      public Set<Feature<?>> getConflicts() {
        return conflicts;
      }
    
      public Object getSource() {
        return source;
      }
    
      @Override
      public String getMessage() {
        return super.getMessage() + " (source: " + source + ")";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

                  @Override
                  public Deque<?> apply(Deque delegate) {
                    return wrap((Deque<?>) delegate);
                  }
                });
      }
    
      private static <T> Deque<T> wrap(final Deque<T> delegate) {
        return new ForwardingDeque<T>() {
          @Override
          protected Deque<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapWithBadHashesMapInterfaceTest.java

        Colliders colliders = new Colliders();
        return ImmutableMap.of(
            colliders.e0(), 0,
            colliders.e1(), 1,
            colliders.e2(), 2,
            colliders.e3(), 3);
      }
    
      @Override
      protected Object getKeyNotInPopulatedMap() {
        return new Colliders().e4();
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 4;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

            parse(token);
        }
    
    
        public int getResult () {
            return this.result;
        }
    
    
        public void setResult ( int result ) {
            this.result = result;
        }
    
    
        public ASN1ObjectIdentifier getMechanism () {
            return this.mechanism;
        }
    
    
        public void setMechanism ( ASN1ObjectIdentifier mechanism ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            byte[] cmp = new byte[SIGNATURE_LENGTH];
            System.arraycopy(this.digest.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
            if ( !MessageDigest.isEqual(sig, cmp) ) {
                return true;
            }
            return false;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
Back to top