Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,074 for context_b (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/debugging.md

    Here's how it might look:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    If you use Pycharm, you can:
    
    * Open the "Run" menu.
    * Select the option "Debug...".
    * Then a context menu shows up.
    * Select the file to debug (in this case, `main.py`).
    
    It will then start the server with your **FastAPI** code, stop at your breakpoints, etc.
    
    Here's how it might look:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_eager.cc

                                                  TF_Status* s) {
      auto imm_ctx = dyn_cast<ImmediateExecutionContext>(unwrap(ctx));
      if (!imm_ctx) {
        string msg =
            StrCat("Not an eager context.", reinterpret_cast<uintptr_t>(ctx));
        TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str());
        return nullptr;
      }
      return wrap(imm_ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jun 25 04:40:46 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  4. internal/kms/config.go

    //
    // It returns an error if connecting to the KMS implementation fails,
    // e.g. due to incomplete config, or when configurations for multiple
    // KMS implementations are present.
    func Connect(ctx context.Context, opts *ConnectionOptions) (*KMS, error) {
    	if present, err := IsPresent(); !present || err != nil {
    		if err != nil {
    			return nil, err
    		}
    		return nil, errors.New("kms: no KMS configuration specified")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    	var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    		// Update request context with `logger.ReqInfo`.
    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. .github/workflows/build-docs.yml

          - langs
        if: ${{ needs.changes.outputs.docs == 'true' }}
        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004.py

    from typing import Union
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs_src/security/tutorial004_an_py310.py

    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    		Help:      help,
    		Type:      gaugeMetric,
    	}
    }
    
    func getResourceMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: resourceMetricsCacheInterval,
    	}
    	mg.RegisterRead(func(ctx context.Context) []MetricV2 {
    		metrics := []MetricV2{}
    
    		subSystems := []MetricSubsystem{interfaceSubsystem, memSubsystem, driveSubsystem, cpuSubsystem}
    		resourceMetricsMapMu.RLock()
    		defer resourceMetricsMapMu.RUnlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

        /**
         * Setup exactly the same as the above test, except that the child project
         * now depends upon d, which has a transitive dependency on c.  Even though
         * we did list an exclusion on c, it was only from within the context of
         * project b.  We will pick up project c in this case because no
         * restrictions were placed on d.  This demonstrates that a, b, c, &amp; d will
         * all be collected.
         *
         * @throws Exception
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top