Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,746 for getSub (0.12 sec)

  1. samples/external/github.yaml

    # This ServiceEntry exposes the hosts needed for github.com.
    # After applying this file, Istio-enabled pods will be able to execute
    # `git clone https://github.com/istio/api.git` and (with local identification
    # config and certificate) `git clone git@github.com:istio/api.git`
    
    # HTTP and TLS, the host must be specified
    # See https://istio.io/docs/tasks/traffic-management/egress/
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 28 20:28:21 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  2. docs_src/sql_databases_peewee/sql_app/main.py

        database.db._state.reset()
    
    
    def get_db(db_state=Depends(reset_db_state)):
        try:
            database.db.connect()
            yield
        finally:
            if not database.db.is_closed():
                database.db.close()
    
    
    @app.post("/users/", response_model=schemas.User, dependencies=[Depends(get_db)])
    def create_user(user: schemas.UserCreate):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  3. docs_src/sql_databases/sql_app/main.py

    models.Base.metadata.create_all(bind=engine)
    
    app = FastAPI()
    
    
    # Dependency
    def get_db():
        db = SessionLocal()
        try:
            yield db
        finally:
            db.close()
    
    
    @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: Sun May 17 10:14:14 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .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)
Back to top