Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 3,843 for getK (0.03 sec)

  1. cmd/generic-handlers.go

    		// header fields
    		if r.Method == http.MethodPut && r.Header.Get(xhttp.AmzCopySource) != "" {
    			bucket, object = path2BucketObject(r.Header.Get(xhttp.AmzCopySource))
    			if bucket == "" || object == "" {
    				h.ServeHTTP(w, r)
    				return
    			}
    		}
    		sr, err := globalDNSConfig.Get(bucket)
    		if err != nil {
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. docs/vi/docs/index.md

    * Kiểm tra xem có một `item_id` trong đường dẫn với các request `GET` và `PUT` không?
    * Kiểm tra xem `item_id` có phải là kiểu `int` trong các request `GET` và `PUT` không?
        * Nếu không, client sẽ thấy một lỗi rõ ràng và hữu ích.
    * Kiểm tra xem nếu có một tham số `q` trong query string (ví dụ như `http://127.0.0.1:8000/items/foo?q=somequery`) cho request `GET`.
        * Tham số `q` được định nghĩa `= None`, nó là tùy chọn.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. docs/zh/docs/index.md

        * 数据库模型
        * ......以及更多其他类型
    * 自动生成的交互式 API 文档,包括两种可选的用户界面:
        * Swagger UI
        * ReDoc
    
    ---
    
    回到前面的代码示例,**FastAPI** 将会:
    
    * 校验 `GET` 和 `PUT` 请求的路径中是否含有 `item_id`。
    * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。
        * 如果不是,客户端将会收到清晰有用的错误信息。
    * 检查 `GET` 请求中是否有命名为 `q` 的可选查询参数(比如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        * 因为 `q` 被声明为 `= None`,所以它是可选的。
        * 如果没有 `None` 它将会是必需的 (如 `PUT` 例子中的请求体)。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/iam.go

    		if err != nil {
    			return UserIdentity{}, nil, err
    		}
    	}
    
    	return tmpAcc, embeddedPolicy, nil
    }
    
    // getAccountWithClaims - gets information about an account with claims
    func (sys *IAMSys) getAccountWithClaims(ctx context.Context, accessKey string) (UserIdentity, *jwt.MapClaims, error) {
    	if !sys.Initialized() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            ModelSource result = resolveModel(parent.getDelegate(), resolvedParent);
            if (resolvedParent.get() != null) {
                parent.setVersion(resolvedParent.get().getVersion());
            }
            return result;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public boolean containsValue(Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsValue(value);
        }
    
        @Override
        public @Nullable V get(Object key) {
          assertTrue(Thread.holdsLock(mutex));
          return super.get(key);
        }
    
        @Override
        public @Nullable V put(K key, V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.put(key, value);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        return backingMap;
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      private <T extends B> T trustedPut(TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return (T) backingMap.put(type, value);
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      private <T extends @NonNull B> T trustedGet(TypeToken<T> type) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/sts-errors.go

    		Description:    "The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSClientGrantsExpiredToken: {
    		Code:           "ExpiredToken",
    		Description:    "The client grants that was passed is expired or is not valid. Get a new client grants token from the identity provider and then retry the request.",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. tests/test_sub_callbacks.py

    def invoice_notification(body: InvoiceEvent):
        pass  # pragma: nocover
    
    
    class Event(BaseModel):
        name: str
        total: float
    
    
    events_callback_router = APIRouter()
    
    
    @events_callback_router.get("{$callback_url}/events/{$request.body.title}")
    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    @subrouter.post("/invoices/", callbacks=invoices_callback_router.routes)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top