Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,728 for getSub (0.2 sec)

  1. docs_src/sql_databases/sql_app_py39/alt_main.py

        finally:
            request.state.db.close()
        return response
    
    
    # Dependency
    def get_db(request: Request):
        return request.state.db
    
    
    @app.post("/users/", response_model=schemas.User)
    def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)):
        db_user = crud.get_user_by_email(db, email=user.email)
        if db_user:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/github.com_dmitshur-test_modtest5_v0.5.0-alpha.txt

    module github.com/dmitshur-test/modtest5@v0.5.0-alpha
    
    -- .mod --
    module github.com/dmitshur-test/modtest5
    -- .info --
    {"Version":"v0.5.0-alpha","Time":"2019-06-18T19:04:46-07:00"}
    -- p.go --
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 25 13:27:20 UTC 2019
    - 215 bytes
    - Viewed (0)
  3. pkg/controller/cronjob/injection.go

    // jobControlInterface is an interface that knows how to add or delete jobs
    // created as an interface to allow testing.
    type jobControlInterface interface {
    	// GetJob retrieves a Job.
    	GetJob(namespace, name string) (*batchv1.Job, error)
    	// CreateJob creates new Jobs according to the spec.
    	CreateJob(namespace string, job *batchv1.Job) (*batchv1.Job, error)
    	// DeleteJob deletes the Job identified by name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 09:37:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/github.com_dmitshur-test_modtest5_v0.5.0-alpha.0.20190619023908-3da23a9deb9e.txt

    module github.com/dmitshur-test/modtest5@v0.5.0-alpha.0.20190619023908-3da23a9deb9e
    
    -- .mod --
    module github.com/dmitshur-test/modtest5
    -- .info --
    {"Version":"v0.5.0-alpha.0.20190619023908-3da23a9deb9e","Time":"2019-06-18T19:39:08-07:00"}
    -- p.go --
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 25 13:27:20 UTC 2019
    - 275 bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial007.py

    async def get_db():
        db = DBSession()
        try:
            yield db
        finally:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 99 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/ci-systems/github-actions-workflow.png

    github-actions-workflow.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 19:03:12 UTC 2024
    - 255.5K bytes
    - Viewed (0)
  7. docs/en/docs/img/github-social-preview.svg

    github-social-preview.svg...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 04 20:56:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. .github/workflows/submit-github-dependency-graph.yml

    Christoph Obexer <******@****.***> 1714548547 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/testing-database.md

    All the app code is the same, you can go back to that chapter check how it was.
    
    The only changes here are in the new testing file.
    
    Your normal dependency `get_db()` would return a database session.
    
    In the test, you could use a dependency override to return your *custom* database session instead of the one that would be used normally.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top