Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 767 for upload (0.17 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py

    
    @needs_py310
    def test_post_uploadfile_no_body(client: TestClient):
        response = client.post("/uploadfile/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No upload file sent"}
    
    
    @needs_py310
    def test_post_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. docs/sts/assume-role.md

    - To be able to easily get the temporary credentials to upload to a prefix. Make it possible for a client to upload a whole folder using the session. The server side applications need not create a presigned URL and serve to the client for each file. Since, the client would have the session it can do it by itself.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. internal/config/subnet/subnet.go

    )
    
    const (
    	respBodyLimit = 1 << 20 // 1 MiB
    
    	// LoggerWebhookName - subnet logger webhook target
    	LoggerWebhookName = "subnet"
    )
    
    // Upload given file content (payload) to specified URL
    func (c Config) Upload(reqURL string, filename string, payload []byte) (string, error) {
    	if !c.Registered() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. .github/workflows/smokeshow.yml

            with:
              name: coverage-html
              path: htmlcov
              github-token: ${{ secrets.GITHUB_TOKEN }}
              run-id: ${{ github.event.workflow_run.id }}
          - run: smokeshow upload htmlcov
            env:
              SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
              SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
              SMOKESHOW_GITHUB_CONTEXT: coverage
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:47:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. .github/workflows/test.yml

            env:
              COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
              CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
          - name: Store coverage files
            uses: actions/upload-artifact@v4
            with:
              name: coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
              path: coverage
              include-hidden-files: true
    
      coverage-combine:
        needs: [test]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepUpload.kt

        vcsRootId = gradlePromotionBranches
    ) {
        init {
            id("Promotion_SnapshotFromQuickFeedbackStepUpload")
            name = "Nightly Snapshot (from QuickFeedback) - Upload"
            description = "Builds and uploads the latest successful changes on '${branch.branchName}' from Quick Feedback as a new distribution"
    
            steps {
                buildStep(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jul 25 21:00:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. README.md

    ```sh
    firewall-cmd --zone=public --add-port=9000/tcp --permanent
    ```
    
    Note that `permanent` makes sure the rules are persistent across firewall start, restart or reload. Finally reload the firewall for changes to take effect.
    
    ```sh
    firewall-cmd --reload
    ```
    
    ### iptables
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:34:11 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. docs_src/request_files/tutorial001_02.py

        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 508 bytes
    - Viewed (0)
  9. ci/official/envs/versions_upload

    # limitations under the License.
    # ==============================================================================
    # Release jobs are very basic. They don't use any caching or RBE,
    # but they do upload logs to resultstore.
    # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to
    # pretend the path is a directory.
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jul 16 21:54:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. .github/workflows/osv-scanner-scheduled.yml

    # ==============================================================================
    
    name: OSV-Scanner Scheduled Scan
    
    on:
      schedule:
        - cron: 0 4 * * 1
    
    permissions:
      # Require writing security events to upload SARIF file to security tab
      security-events: write
      # Only need to read contents
      contents: read
    
    jobs:
      scan-scheduled:
        if: github.repository == 'tensorflow/tensorflow'
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top