Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 643 for os (0.03 sec)

  1. tests/test_tutorial/test_templates/test_tutorial001.py

    import os
    import shutil
    
    from fastapi.testclient import TestClient
    
    
    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 22:25:37 UTC 2024
    - 910 bytes
    - Viewed (0)
  2. src/packaging/common/packaging.properties

    packaging.fess.heap.min=256m
    packaging.fess.heap.max=1g
    
    # Specifies the maximum file descriptor number
    packaging.os.max.open.files=65535
    
    # Maximum number of VMA (Virtual Memory Areas) a process can own
    packaging.os.max.map.count=262144
    
    # Simple marker to check that properties are correctly overridden
    packaging.type=tar.gz
    
    # Custom header for package scripts
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 797 bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Isso não faz diferença para o **FastAPI**. Ele vai detectar os parâmetros pelos seus nomes, tipos e definições padrão (`Query`, `Path`, etc), sem se importar com a ordem.
    
    Então, você pode declarar sua função assim:
    
    ```Python hl_lines="7"
    {!../../docs_src/path_params_numeric_validations/tutorial002.py!}
    ```
    
    ## Ordene os parâmetros de a acordo com sua necessidade, truques
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. .github/workflows/tests.yml

    permissions:
      contents: read
    
    jobs:
      # Label of the container job
      sqlite:
        strategy:
          matrix:
            go: ['1.22', '1.21', '1.20']
            platform: [ubuntu-latest] # can not run in windows OS
        runs-on: ${{ matrix.platform }}
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
        - name: Check out code into the Go module directory
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. internal/event/target/kafka.go

    			// Such events will not exist and wouldve been already been sent successfully.
    			if os.IsNotExist(err) {
    				return nil
    			}
    			return err
    		}
    		err = target.send(event)
    	case key.ItemCount > 1:
    		var events []event.Event
    		events, err = target.store.GetMultiple(key)
    		if err != nil {
    			if os.IsNotExist(err) {
    				return nil
    			}
    			return err
    		}
    		err = target.sendMultiple(events)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. cmd/update_test.go

    		}
    		os.Unsetenv("MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION")
    		os.Unsetenv(testCase.envName)
    	}
    }
    
    // Tests if the environment we are running is in DCOS.
    func TestIsDCOS(t *testing.T) {
    	t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111")
    	dcos := IsDCOS()
    	if !dcos {
    		t.Fatalf("Expected %t, got %t", true, dcos)
    	}
    	os.Unsetenv("MESOS_CONTAINER_NAME")
    	dcos = IsDCOS()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/CompileAll.kt

    package configurations
    
    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import model.CIBuildModel
    import model.Stage
    
    class CompileAll(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
        id(buildTypeId(model))
        name = "Compile All"
        description = "Compiles all production/test source code and warms up the build cache"
    
        features {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. internal/kms/config_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"os"
    	"testing"
    )
    
    func TestIsPresent(t *testing.T) {
    	for i, test := range isPresentTests {
    		os.Clearenv()
    		for k, v := range test.Env {
    			os.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

          with:
            java-version: '21'
            distribution: 'temurin'
        - uses: actions/cache@v1
          with:
            path: ~/.m2/repository
            key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
            restore-keys: |
              ${{ runner.os }}-maven-
        - name: Build with Maven
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Dec 23 10:29:24 UTC 2023
    - 822 bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/tflite-other.md

        placeholder: ex,. tf 2.8 validations: required: true
    
    -   type: dropdown id: Code attributes: label: Custom Code description:
        options: - "Yes" - "No" validations: required: true
    
    -   type: input id: OS attributes: label: OS Platform and Distribution
        description: placeholder: e.g., Linux Ubuntu 16.04 validations: required:
        false
    
    -   type: input id: Mobile attributes: label: Mobile device description:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Dec 29 22:28:29 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top