Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 747 for Write (0.01 seconds)

  1. docs/en/docs/tutorial/background-tasks.md

    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    {* ../../docs_src/background_tasks/tutorial001_py39.py hl[6:9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. cmd/listen-notification-handlers.go

    	setEventStreamHeaders(w)
    
    	// Listen Publisher and peer-listen-client uses nonblocking send and hence does not wait for slow receivers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    	mergeCh := make(chan []byte, globalAPIConfig.getRequestsPoolCapacity()*len(globalEndpoints.Hostnames()))
    	localCh := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. .github/workflows/people.yml

            required: false
            default: "false"
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. .github/workflows/smokeshow.yml

    name: Smokeshow
    
    on:
      workflow_run:
        workflows: [Test]
        types: [completed]
    
    permissions:
      statuses: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      smokeshow:
        runs-on: ubuntu-latest
    
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - uses: actions/setup-python@v6
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 17:36:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        writer: DerWriter,
        value: T,
      ) {
        if (typeHint) {
          writer.typeHint = value
        }
    
        if (isOptional && value == defaultValue) {
          // Nothing to write!
          return
        }
    
        writer.write(name, tagClass, tag) {
          codec.encode(writer, value)
        }
      }
    
      /**
       * Returns a copy with a context tag. This should be used when the type is ambiguous on its own.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. .github/workflows/stale-issues.yml

    permissions:
      contents: read
    
    jobs:
      close-issues:
        # Don't do this in forks
        if: github.repository == 'tensorflow/tensorflow'
        runs-on: ubuntu-latest
        permissions:
          issues: write
          pull-requests: write
        steps:
          - name: Awaiting response issues
            uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
            with:
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Nov 01 08:08:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. cmd/api-headers.go

    	e.Encode(response)
    	return bytesBuffer.Bytes()
    }
    
    // Write parts count
    func setPartsCountHeaders(w http.ResponseWriter, objInfo ObjectInfo) {
    	if strings.Contains(objInfo.ETag, "-") && len(objInfo.Parts) > 0 {
    		w.Header()[xhttp.AmzMpPartsCount] = []string{strconv.Itoa(len(objInfo.Parts))}
    	}
    }
    
    // Write object header
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java

        /**
         * Not a setter.
         */
        public void setIgnoreMe1() {
        }
    
        /**
         * Not a setter.
         */
        public void setIgnoreMe2(String a, int b) {
        }
    
        /**
         * A write-only property.
         */
        public void setWriteOnly(JavaInterface value) {
        }
    
        /**
         * A property.
         */
        public JavaInterface getSomeProp() {
            return this;
        }
    
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.1K bytes
    - Click Count (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

                throws XMLStreamException;
    
        /**
         * Implementation method for writing an XML node to a writer.
         *
         * @param node the XML node to write
         * @param writer the writer to write to
         * @throws IOException if there is an error writing the XML
         */
        protected abstract void doWrite(XmlNode node, Writer writer) throws IOException;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. .github/workflows/notify-translations.yml

            required: false
            default: 'false'
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      job:
        runs-on: ubuntu-latest
        permissions:
          discussions: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top