Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for refresh (0.36 sec)

  1. docs_src/sql_databases/sql_app_py39/crud.py

        db.add(db_user)
        db.commit()
        db.refresh(db_user)
        return db_user
    
    
    def get_items(db: Session, skip: int = 0, limit: int = 100):
        return db.query(models.Item).offset(skip).limit(limit).all()
    
    
    def create_user_item(db: Session, item: schemas.ItemCreate, user_id: int):
        db_item = models.Item(**item.dict(), owner_id=user_id)
        db.add(db_item)
        db.commit()
        db.refresh(db_item)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1K bytes
    - Viewed (0)
  2. docs_src/sql_databases/sql_app_py310/crud.py

        db.add(db_user)
        db.commit()
        db.refresh(db_user)
        return db_user
    
    
    def get_items(db: Session, skip: int = 0, limit: int = 100):
        return db.query(models.Item).offset(skip).limit(limit).all()
    
    
    def create_user_item(db: Session, item: schemas.ItemCreate, user_id: int):
        db_item = models.Item(**item.dict(), owner_id=user_id)
        db.add(db_item)
        db.commit()
        db.refresh(db_item)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1K bytes
    - Viewed (0)
  3. docs/sts/client_grants/__init__.py

            """
            if self.cid is not None:
                fetcher = self._create_credentials_fetcher()
                return RefreshableCredentials.create_from_metadata(
                    metadata=fetcher(),
                    refresh_using=fetcher,
                    method=self.METHOD,
                )
            else:
                return None
    
        def _create_credentials_fetcher(self):
            method = self.METHOD
    
            def fetch_credentials():
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  4. fastapi/security/oauth2.py

                    """
                ),
            ],
            refreshUrl: Annotated[
                Optional[str],
                Doc(
                    """
                    The URL to refresh the token and obtain a new one.
                    """
                ),
            ] = None,
            scheme_name: Annotated[
                Optional[str],
                Doc(
                    """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  5. docs_src/sql_databases/sql_app/crud.py

        db.add(db_user)
        db.commit()
        db.refresh(db_user)
        return db_user
    
    
    def get_items(db: Session, skip: int = 0, limit: int = 100):
        return db.query(models.Item).offset(skip).limit(limit).all()
    
    
    def create_user_item(db: Session, item: schemas.ItemCreate, user_id: int):
        db_item = models.Item(**item.dict(), owner_id=user_id)
        db.add(db_item)
        db.commit()
        db.refresh(db_item)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 1K bytes
    - Viewed (0)
  6. fastapi/param_functions.py

                dependency.
    
                The term "scope" comes from the OAuth2 specification, it seems to be
                intentionaly vague and interpretable. It normally refers to permissions,
                in cases to roles.
    
                These scopes are integrated with OpenAPI (and the API docs at `/docs`).
                So they are visible in the OpenAPI specification.
                )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  7. configure.py

          no_reply=no_reply,
          bazel_config_name='cuda_clang',
      )
    
    
    def set_tf_download_clang(environ_cp):
      """Set TF_DOWNLOAD_CLANG action_env."""
      question = 'Do you wish to download a fresh release of clang? (Experimental)'
      yes_reply = 'Clang will be downloaded and used to compile tensorflow.'
      no_reply = 'Clang will not be downloaded.'
      set_action_env_var(
          environ_cp,
          'TF_DOWNLOAD_CLANG',
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top