- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 543 for os (0.01 seconds)
-
docs/en/docs/environment-variables.md
For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/pt/docs/advanced/events.md
{* ../../docs_src/events/tutorial001_py39.py hl[8] *} Nesse caso, a função de manipulador do evento `startup` inicializará os itens do "banco de dados" (apenas um `dict`) com alguns valores. Você pode adicionar mais de uma função de manipulador de eventos. E sua aplicação não começará a receber requisições até que todos os manipuladores de eventos `startup` sejam concluídos. ### Evento `shutdown` { #shutdown-event }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
gradleTasks: String, os: Os = Os.LINUX, arch: Arch = Arch.AMD64, extraParameters: String = "", timeout: Int = 90, buildJvm: Jvm = BuildToolBuildJvm, extraSteps: BuildSteps.() -> Unit = {}, ) { buildType.applyDefaultSettings(os, timeout = timeout, buildJvm = buildJvm) buildType.killProcessStep(KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS, os)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 20 07:29:52 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
OAuth2 especifica que ao usar o "password flow" (fluxo de senha), que estamos usando, o cliente/usuário deve enviar os campos `username` e `password` como dados do formulário. E a especificação diz que os campos devem ser nomeados assim. Portanto, `user-name` ou `email` não funcionariam. Mas não se preocupe, você pode mostrá-lo como quiser aos usuários finais no frontend.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
} if (result && os.getVersion() != null) { result = determineVersionMatch(os.getVersion()); } return result; } private boolean ensureAtLeastOneNonNull(ActivationOS os) { return os.getArch() != null || os.getFamily() != null || os.getName() != null || os.getVersion() != null; } private boolean determineVersionMatch(String version) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt
this.cleanCheckout = cleanCheckout showDependenciesChanges = true } requirements { requiresOs(Os.LINUX) requiresNotEc2Agent() } paramsForBuildToolBuild(BuildToolBuildJvm, Os.LINUX) params { password( "env.DEVELOCITY_ACCESS_KEY",Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 14 10:56:29 GMT 2025 - 2.3K bytes - Click Count (0) -
internal/config/certs_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config import ( "os" "testing" ) func createTempFile(t testing.TB, prefix, content string) (tempFile string, err error) { t.Helper() var tmpfile *os.File if tmpfile, err = os.CreateTemp(t.TempDir(), prefix); err != nil { return tempFile, err } if _, err = tmpfile.Write([]byte(content)); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.6K bytes - Click Count (0) -
cmd/jwt_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "net/http" "os" "testing" jwtgo "github.com/golang-jwt/jwt/v4" xjwt "github.com/minio/minio/internal/jwt" ) func getTokenString(accessKey, secretKey string) (string, error) { claims := xjwt.NewMapClaims()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
internal/logger/target/testlogger/testlogger.go
case errorMessage: logf = func(format string, args ...any) { fmt.Fprintf(os.Stderr, format+"\n", args...) } case fatalMessage: logf = func(format string, args ...any) { fmt.Fprintf(os.Stderr, format+"\n", args...) } defer os.Exit(1) default: logf = func(format string, args ...any) { fmt.Fprintf(os.Stdout, format+"\n", args...) } } } switch v := entry.(type) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4K bytes - Click Count (0) -
internal/disk/directio_unsupported.go
// https://github.com/openzfs/zfs/commit/a584ef26053065f486d46a7335bea222cb03eeea // OpenFileDirectIO wrapper around os.OpenFile nothing special func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return os.OpenFile(filePath, flag, perm) } // DisableDirectIO is a no-op func DisableDirectIO(f *os.File) error { return nil } // AlignedBlock simply returns an unaligned buffer
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 2.6K bytes - Click Count (0)