Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getattr (0.1 sec)

  1. fastapi/dependencies/utils.py

                        # For Pydantic v1
                        and getattr(field, "shape", 1) == 1
                    )
                )
    
        return ParamDetails(type_annotation=type_annotation, depends=depends, field=field)
    
    
    def add_param_to_fields(*, field: ModelField, dependant: Dependant) -> None:
        field_info = field.field_info
        field_info_in = getattr(field_info, "in_", None)
        if field_info_in == params.ParamTypes.path:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. tests/test_multipart_installation.py

        multipart_not_installed_error,
    )
    
    
    def test_incorrect_multipart_installed_form(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False)
        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

            }
    
            MetadataGraphNode node = new MetadataGraphNode(md);
            addNode(node);
            return node;
        }
    
        /**
         * getter
         */
        public MetadataGraphNode getEntry() {
            return entry;
        }
    
        /**
         * getter
         */
        public Collection<MetadataGraphNode> getNodes() {
            return nodes;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            for (O option : options) {
                Optional<T> o = getter.apply(option);
                if (o.isPresent()) {
                    return o;
                }
            }
            return Optional.empty();
        }
    
        protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) {
            int had = 0;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. RELEASE.md

            which would previously raise an error. This will correspond to an
            attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only
            be accessed indirectly (e.g. through getattr and setattr). To set this
            up the user will first need to explicitly add the variable to the hparam
            object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").
        *   Benchmark for tf.scan in graph and eager modes.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            }
    
            /**
             * Parses the next property from the input stream and stores the found
             * name and value in internal fields. These fields can be obtained using
             * the provided getter methods. The return value indicates whether EOF
             * was reached (<b>false</b>) or whether further properties are
             * available (<b>true</b>).
             *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/popper.min.js.map

    {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n","import modifiers from '../modifiers/index';\n\n/**\n * Default options provided to Popper.js constructor.<br />\n *...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  8. src/main/webapp/js/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/moment-with-locales.min.js.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 224.8K bytes
    - Viewed (0)
Back to top