Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 264 for warnings (0.11 sec)

  1. istioctl/pkg/validate/validate.go

    			if err := checkFields(un); err != nil {
    				return nil, err
    			}
    			warnings, err := operatorvalidate.ParseAndValidateIstioOperator(un.Object, nil)
    			if err != nil {
    				return nil, err
    			}
    			if len(warnings) > 0 {
    				return validation.Warning(warnings.ToError()), nil
    			}
    		}
    	}
    
    	// Didn't really validate.  This is OK, as we often get non-Istio Kubernetes YAML
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            mod = importlib.import_module(f"docs_src.sql_databases.{request.param}")
            clear_sqlmodel()
            importlib.reload(mod)
        mod.sqlite_url = "sqlite://"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial001.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            mod = importlib.import_module(f"docs_src.sql_databases.{request.param}")
            clear_sqlmodel()
            importlib.reload(mod)
        mod.sqlite_url = "sqlite://"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                assertThat("Has errors", richReport.errors.map { it.message }, CoreMatchers.equalTo(errors.toList()))
            }
    
            fun assertHasWarnings(vararg warnings: String) {
                assertThat("Has warnings", richReport.warnings.map { it.message }, CoreMatchers.equalTo(warnings.toList()))
            }
    
            fun assertHasInformation(vararg information: String) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		printStartupMessage(getAPIEndpoints(), err)
    
    		// Print a warning at the end of the startup banner so it is more noticeable
    		if newObject.BackendInfo().StandardSCParity == 0 && !globalIsErasureSD {
    			warnings = append(warnings, color.YellowBold("The standard parity is set to 0. This can lead to data loss."))
    		}
    
    		for _, warn := range warnings {
    			logger.Warning(warn)
    		}
    	}()
    
    	region := globalSite.Region()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  6. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link #addListener} documentation. All its warnings about heavyweight
       * listeners are also applicable to heavyweight functions passed to this method.
       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#exceptionally}. It
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    				fmt.Fprintln(c.ErrOrStderr())
    			}
    			for _, warning := range warnings {
    				fmt.Fprintln(c.ErrOrStderr(), warning)
    			}
    			return retval
    		},
    		PersistentPreRunE: func(c *cobra.Command, args []string) error {
    			// istioctl kube-inject is typically redirected to a .yaml file;
    			// the default for log messages should be stderr, not stdout
    			root := c.Root()
    			if root != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. fastapi/params.py

    import warnings
    from enum import Enum
    from typing import Any, Callable, Dict, List, Optional, Sequence, Union
    
    from fastapi.openapi.models import Example
    from pydantic.fields import FieldInfo
    from typing_extensions import Annotated, deprecated
    
    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. fastapi/openapi/utils.py

    import http.client
    import inspect
    import warnings
    from typing import Any, Dict, List, Optional, Sequence, Set, Tuple, Type, Union, cast
    
    from fastapi import routing
    from fastapi._compat import (
        GenerateJsonSchema,
        JsonSchemaValue,
        ModelField,
        Undefined,
        get_compat_model_name_map,
        get_definitions,
        get_schema_from_model_field,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        }
    
        protected void assertProblemFree(SimpleProblemCollector collector) {
            assertEquals(0, collector.getErrors().size(), "Expected no errors");
            assertEquals(0, collector.getWarnings().size(), "Expected no warnings");
            assertEquals(0, collector.getFatals().size(), "Expected no fatals");
        }
    
        protected void assertCollectorState(
                int numFatals, int numErrors, int numWarnings, SimpleProblemCollector collector) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top