Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 641 for scope (0.05 sec)

  1. tests/test_tutorial/test_events/test_tutorial001.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.events.tutorial001 import app
        yield app
    
    
    def test_events(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/items/foo")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                }
    
                @Nonnull
                @Override
                public DependencyScope getScope() {
                    String scope = dependency.getScope() != null ? dependency.getScope() : "";
                    return session.requireDependencyScope(scope);
                }
    
                @Override
                public Boolean getOptional() {
                    return dependency.isOptional();
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. VULNERABILITY_REPORT.md

    reported vulnerability that has been found in the MinIO server code base,
    any directly connected ecosystem component or a direct / indirect dependency
    of the code base.
    
    ## Scope
    
    The vulnerability management policy described in this document covers the
    process of investigating, assessing and resolving a vulnerability report
    opened by a MinIO employee or an external third party.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. docs/pt/docs/how-to/custom-request-and-route.md

    Um `Request` também tem um `request.receive`, que é uma função para "receber" o corpo da requisição.
    
    O dicionário `scope` e a função `receive` são ambos parte da especificação ASGI.
    
    E essas duas coisas, `scope` e `receive`, são o que é necessário para criar uma nova instância de `Request`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. chainable_api.go

    	scopes := db.Statement.scopes
    	db.Statement.scopes = nil
    	for _, scope := range scopes {
    		db = scope(db)
    	}
    	return db
    }
    
    // Preload preload associations with given conditions
    //
    //	// get all users, and preload all non-cancelled orders
    //	db.Preload("Orders", "state NOT IN (?)", "cancelled").Find(&users)
    func (db *DB) Preload(query string, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/testdata/localhost.yaml

          80: 8080
        "default/example2.com":
          80: 8080
    policies:
      - action: Allow
        rules:
        - - - not_destination_ports:
              - 9999
        name: deny-9999
        namespace: default
        scope: Namespace
    services:
    - name: local
      namespace: default
      hostname: example.com
      vips:
        - /127.10.0.1
      ports:
        80: 8080
    - name: remote
      namespace: default
      hostname: example2.com
      vips:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

    import java.io.File;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

              const tensorflow::Scope& scope,
              const std::vector<tensorflow::Output>& inputs,
              std::vector<tensorflow::Output>* outputs) {
            DCHECK_EQ(scope.graph(), &parent->graph);
            TF_RETURN_IF_ERROR(
                CopyGraph(&params->body_graph->graph, &parent->graph,
                          &parent->refiner, params->body_inputs, inputs,
                          scope.impl()->name(), scope.impl()->control_deps(),
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top