Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 562 for bearer (0.07 sec)

  1. cmd/bucket-replication-utils_test.go

    			}
    		}
    	}
    }
    
    var replicationStateTest = []struct {
    	name      string
    	rs        ReplicationState
    	arn       string
    	expStatus replication.StatusType
    }{
    	{ // 1. no replication status header
    		name:      "no replicated targets",
    		rs:        ReplicationState{},
    		expStatus: replication.StatusType(""),
    	},
    	{ // 2. replication status for one target
    		name:      "replication status for one target",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. cmd/tier-handlers.go

    		return
    	}
    
    	tiers := globalTierConfigMgr.ListTiers()
    	data, err := json.Marshal(tiers)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	w.Header().Set(tierCfgRefreshAtHdr, globalTierConfigMgr.refreshedAt().String())
    	writeSuccessResponseJSON(w, data)
    }
    
    func (api adminAPIHandlers) EditTierHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/websockets.md

    And all of them will use the same WebSocket connection.
    
    ## Using `Depends` and others
    
    In WebSocket endpoints you can import from `fastapi` and use:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    They work the same way as for other FastAPI endpoints/*path operations*:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="68-69  82"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. tensorflow/api_template_v1.__init__.py

    _current_module.nn.__path__ = [_module_dir] + _current_module.nn.__path__
    
    del importlib
    
    # Load all plugin libraries from site-packages/tensorflow-plugins if we are
    # running under pip.
    # TODO(gunan): Find a better location for this code snippet.
    from tensorflow.python.framework import load_library as _ll
    from tensorflow.python.lib.io import file_io as _fi
    
    # Get sitepackages directories for the python installation.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            // logger.debug(response.asString());
            return response;
        }
    
        protected Response checkDeleteMethod(final String path) {
            return given().contentType("application/json").header("Authorization", getTestToken()).delete(getApiPath() + "/" + path);
        }
    
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/bucket/replication/DESIGN.md

    specifying a version).After replication syncs the delete marker on the target, the DeleteMarker on the target shows `X-Amz-Replication-Status` of `REPLICA`. The status of DeleteMarker replication is returned by `X-Minio-Replication-DeleteMarker-Status` header on `HEAD/GET` calls for the delete marker version in question - i.e with `mc stat --version-id dm-version-id`
    
    It must be noted that if active-active replication is set up with delete marker replication, there is potential for duplicate delete...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    
      /** The number of elements contained in the set. */
      private transient int size;
    
      /** Constructs a new empty instance of {@code CompactHashSet}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  4-6" title="app/dependencies.py"
    {!> ../../docs_src/bigger_applications/app/dependencies.py!}
    ```
    
    ////
    
    /// tip
    
    We are using an invented header to simplify this example.
    
    But in real cases you will get better results using the integrated [Security utilities](security/index.md){.internal-link target=_blank}.
    
    ///
    
    ## Another module with `APIRouter`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    And in those cases, we can use classes and inheritance to take advantage of function **type annotations** to get better support in the editor and tools, and still get the FastAPI **data filtering**.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7-10  13-14  18"
    {!> ../../docs_src/response_model/tutorial003_01_py310.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top