Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tetchy (0.2 sec)

  1. docs/sts/client_grants/__init__.py

                    method=self.METHOD,
                )
            else:
                return None
    
        def _create_credentials_fetcher(self):
            method = self.METHOD
    
            def fetch_credentials():
                # HTTP headers are case insensitive filter out
                # all duplicate headers and pick one.
                headers = {}
                headers['content-type'] = 'application/x-www-form-urlencoded'
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  2. docs/sts/client_grants/sts_element.py

                         'Message: {}').format(self.root_name, name, error.message)
                    )
            else:
                return self.element.findtext('sts:{}'.format(name), None, _STS_NS)
    
        def text(self):
            """Fetch the current node's text
    
            """
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. docs_src/nosql_databases/tutorial001.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    USERPROFILE_DOC_TYPE = "userprofile"
    
    
    def get_bucket():
        cluster = Cluster(
            "couchbase://couchbasehost:8091?fetch_mutation_tokens=1&operation_timeout=30&n1ql_timeout=300"
        )
        authenticator = PasswordAuthenticator("username", "password")
        cluster.authenticate(authenticator)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. docs_src/async_sql_databases/tutorial001.py

    @app.on_event("shutdown")
    async def shutdown():
        await database.disconnect()
    
    
    @app.get("/notes/", response_model=List[Note])
    async def read_notes():
        query = notes.select()
        return await database.fetch_all(query)
    
    
    @app.post("/notes/", response_model=Note)
    async def create_note(note: NoteIn):
        query = notes.insert().values(text=note.text, completed=note.completed)
        last_record_id = await database.execute(query)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 1.4K bytes
    - Viewed (0)
Back to top