Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 6,699 for not (0.03 seconds)

  1. tests/test_tutorial/test_security/test_tutorial004.py

    
    def test_no_token(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token(mod: ModuleType):
        client = TestClient(mod.app)
        access_token = get_access_token(client=client)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The annotated element must not be null.
     * <p>
     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    @Experimental
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java

     * or similar ad-hoc collections of artifacts. This repository is considered read-only
     * within the context of a session, meaning it can only be used for artifact resolution,
     * not for installation or deployment. This interface does not provide direct access
     * to artifacts; that functionality is handled by a {@code WorkspaceReader}.
     */
    public interface WorkspaceRepository extends Repository {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java

         *
         * @param request The settings building request that holds the parameters, must not be {@code null}.
         * @return The result of the settings building, never {@code null}.
         * @throws SettingsBuildingException If the effective settings could not be built.
         */
        SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. .github/workflows/stale-pr.yml

              stale-issue-label: stale
              stale-issue-message: >
                **BUG!** This issue should not be marked stale by the "stale" workflow.
                Please report it to @gradle/bt-support team
              days-before-issue-close: -1
              close-issue-message: >
                **BUG!** This issue should not be closed by the "stale" workflow.
                Please report it to @gradle/bt-support team
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 04 22:13:29 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. cmd/config-migrate.go

    		break
    	}
    	if osIsPermission(err) {
    		logger.Info("Older config found but is not readable %s, proceeding to read config from other places", err)
    	}
    	if osIsNotExist(err) || osIsPermission(err) || len(data) == 0 {
    		data, err = readConfig(GlobalContext, objAPI, configFile)
    		if err != nil {
    			// when config.json is not found, then we freshly initialize.
    			if errors.Is(err, errConfigNotFound) {
    				return newServerCfg()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. internal/arn/arn.go

    		return arn, err
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    	// the ARN would not match any configured ARNs in the server.
    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return arn, err
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    		err = errors.New("invalid ARN - resource does not contain a \"/\"")
    		return arn, err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java

                    "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved: " + cause.getMessage(),
                    cause);
            this.plugin = plugin;
        }
    
        public PluginResolutionException(Plugin plugin, List<Exception> exceptions, Throwable cause) {
            super(
                    "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved:"
                            + System.lineSeparator() + "\t"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. tests/test_security_http_basic_realm_description.py

        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
        response = client.get("/users/me")
        assert response.json() == {"detail": "Not authenticated"}
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
    
    
    def test_security_http_basic_invalid_credentials():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. internal/s3select/select_test.go

    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}`,
    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    		},
    		{
    			name:       "is-not-missing",
    			query:      `select * from s3object[*] as s where s.request.header['User-Agent'] is not missing`,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top