Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for getAttr (0.05 sec)

  1. fastapi/routing.py

                    "/"
                ), "A path prefix must not end with '/', as the routes will start with '/'"
            else:
                for r in router.routes:
                    path = getattr(r, "path")  # noqa: B009
                    name = getattr(r, "name", "unknown")
                    if path is not None and not path:
                        raise FastAPIError(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  2. tests/test_multipart_installation.py

    from fastapi.dependencies.utils import (
        multipart_incorrect_install_error,
        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)
    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. tensorflow/api_template.__init__.py

    _initializers = _KerasLazyLoader(
        globals(), submodule="initializers", name="initializers")
    setattr(_current_module, "losses", _losses)
    setattr(_current_module, "metrics", _metrics)
    setattr(_current_module, "optimizers", _optimizers)
    setattr(_current_module, "initializers", _initializers)
    
    
    # Do an eager load for Keras' code so that any function/method that needs to
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/util/PrunedTag.java

        }
    
        public void setId(final String id) {
            this.id = id;
        }
    
        public void setCss(final String css) {
            this.css = css;
        }
    
        public void setAttr(final String name, final String value) {
            attrName = name;
            attrValue = value;
        }
    
        @Override
        public String toString() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

        }
    
        public void test_toString() {
            String tag = "tag", id = "id", css = "css", attrName = "attrName", attrValue = "attrValue";
            PrunedTag prunedtag = new PrunedTag(tag);
            prunedtag.setAttr(attrName, attrValue);
            prunedtag.setId(id);
            prunedtag.setCss(css);
            assertEquals("PrunedTag [tag=" + tag + ", id=" + id + ", css=" + css + ", attrName=" + attrName + ", attrValue=" + attrValue + "]",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/debugging/xattr/main.go

    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    
    	"github.com/olekukonko/tablewriter"
    	"github.com/pkg/xattr"
    )
    
    var (
    	path, name string
    	value      uint64
    	set, list  bool
    )
    
    func getxattr(path, name string) (uint64, error) {
    	buf, err := xattr.LGet(path, name)
    	if err != nil {
    		return 0, err
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8]), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/api_template_v1.__init__.py

      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v1.
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            return (Class<T>) propertyType;
        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    
        /**
         * getterメソッドを設定します。
         *
         * @param readMethod
         *            getterメソッド
         */
        protected final void setReadMethod(final Method readMethod) {
            this.readMethod = readMethod;
            if (readMethod != null) {
                readable = true;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top