Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 299 for Converted (0.34 seconds)

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

         * Returns the OS full name as reported by the system property "os.name".
         * The value is converted to lowercase for consistency.
         *
         * @return the operating system name (never null)
         */
        @Nonnull
        String name();
    
        /**
         * Returns the OS architecture as reported by the system property "os.arch".
         * The value is converted to lowercase for consistency.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 14:12:18 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. tests/test_typing_python39.py

    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
            @app.post("/", response_model=test_type)
            def post_endpoint(input: test_type):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 709 bytes
    - Click Count (0)
  3. docs/en/docs/advanced/using-request-directly.md

    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

         */
        public static final ArtifactStatus GENERATED = new ArtifactStatus("generated", 1);
    
        /**
         * Low trust - was converted from the Maven 1.x repository.
         */
        public static final ArtifactStatus CONVERTED = new ArtifactStatus("converted", 2);
    
        /**
         * Moderate trust - it was deployed directly from a partner.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. docs_src/schema_extra_example/tutorial005_py310.py

                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    },
                },
                "converted": {
                    "summary": "An example with converted data",
                    "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                    "value": {
                        "name": "Bar",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  6. docs_src/schema_extra_example/tutorial005_an_py310.py

                            "price": 35.4,
                            "tax": 3.2,
                        },
                    },
                    "converted": {
                        "summary": "An example with converted data",
                        "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                        "value": {
                            "name": "Bar",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  7. docs_src/schema_extra_example/tutorial005_py39.py

                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    },
                },
                "converted": {
                    "summary": "An example with converted data",
                    "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                    "value": {
                        "name": "Bar",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. ci/official/utilities/convert_msys_paths_to_win_paths.py

        # with forward slashes, e.g. 'C:/Program Files', instead of
        # '/c/Program Files', thus becoming converted simply by virtue of having
        # been read.
        converted_vars[var] = value
    
      var_str = '\n'.join(f'{k}="{v}"'
                          for k, v in converted_vars.items())
      # The string can then be piped into `source`, to re-set the
      # 'converted' variables.
      print(var_str)
    
    
    if __name__ == '__main__':
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Aug 07 23:01:25 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial005.py

                                                "tax": 3.2,
                                            },
                                        },
                                        "converted": {
                                            "summary": "An example with converted data",
                                            "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

         */
        protected BooleanConversionUtil() {
        }
    
        /**
         * Converts to {@link Boolean}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Boolean}
         */
        public static Boolean toBoolean(final Object o) {
            return switch (o) {
            case null -> null;
            case Boolean b -> b;
            case Number n -> n.intValue() != 0;
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top