Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,545 for revoke (0.15 sec)

  1. docs/pt/docs/advanced/testing-dependencies.md

    O FastAPI ainda poderá sobrescrevê-lo.
    
    ///
    
    E então você pode redefinir as suas sobreposições (removê-las) definindo o `app.dependency_overrides` como um `dict` vazio:
    
    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	// since the `objectLayer==nil`  check is performed before any other checks inside the handlers.
    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    
    	nilBucket := "dummy-bucket"
    	nilObject := "dummy-object"
    	nilReq, err := newTestSignedRequestV4(http.MethodHead, getGetObjectURL("", nilBucket, nilObject),
    		0, nil, "", "", nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "test"},
    		// TODO: once we if the add pod bug, re-enable this and remove the patch below
    		//		Labels: map[string]string{label.IoIstioDataplaneMode.Name: constants.DataplaneModeAmbient},
    
    	}
    
    	client := kube.NewFakeClient(ns, pod)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
                paths.remove(id);
            } else {
                paths.put(id, path);
            }
        }
    
        /**
         * Retrieve a stream of the project's artifacts.
         * Do not include the POM artifact as the file can't be set anyway.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

             */
            for (Iterator<? extends Metadata> it = metadatas.iterator(); it.hasNext(); ) {
                Metadata metadata = it.next();
                if (metadata instanceof VersionsMetadata) {
                    it.remove();
                    VersionsMetadata versionsMetadata = (VersionsMetadata) metadata;
                    processedVersions.put(versionsMetadata.getKey(), versionsMetadata);
                }
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Write success response.
    	writeSuccessResponseJSON(w, configData)
    }
    
    // SetRemoteTargetHandler - sets a remote target for bucket
    func (a adminAPIHandlers) SetRemoteTargetHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	bucket := pathClean(vars["bucket"])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
    
        Iterator<Currency> iter = bimap.keySet().iterator();
        assertEquals(Currency.DOLLAR, iter.next());
        iter.remove();
    
        // forward map ordered by currency
        assertThat(bimap.keySet()).containsExactly(Currency.FRANC, Currency.PESO).inOrder();
        // forward map ordered by currency (even for country values)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. cmd/namespace-lock.go

    		n.lockMap[resource].ref--
    		if n.lockMap[resource].ref < 0 {
    			logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0"))
    		}
    		if n.lockMap[resource].ref == 0 {
    			// Remove from the map if there are no more references.
    			delete(n.lockMap, resource)
    		}
    		n.lockMapMutex.Unlock()
    	}
    
    	return
    }
    
    // Unlock the namespace resource.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

    import org.apache.maven.artifact.repository.metadata.SnapshotVersion;
    import org.apache.maven.artifact.repository.metadata.Versioning;
    import org.eclipse.aether.artifact.Artifact;
    
    /**
     * Maven remote GAV level metadata.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    final class RemoteSnapshotMetadata extends MavenSnapshotMetadata {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
                    },
                }
            },
        }
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_py39
    @needs_pydanticv1
    def test_openapi_schema_pv1(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top