- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 49 for timeZone (0.32 sec)
-
docs_src/security/tutorial005_py39.py
return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 5.1K bytes - Viewed (0) -
docs_src/security/tutorial005.py
return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 5.1K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
from collections import deque from dataclasses import dataclass from datetime import datetime, timezone from decimal import Decimal from enum import Enum from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Optional import pytest from fastapi._compat import PYDANTIC_V2, Undefined from fastapi.encoders import jsonable_encoder from pydantic import BaseModel, Field, ValidationError
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 9K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py310.py
return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
static final int TID_OFFSET = 24; static final int HEADER_LENGTH = 32; static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; static final TimeZone TZ = TimeZone.getDefault(); static final boolean USE_BATCHING = Config.getBoolean( "jcifs.smb1.smb.client.useBatching", true );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.4K bytes - Viewed (0) -
docs_src/security/tutorial005_an.py
return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 5.3K bytes - Viewed (0) -
src/main/assemblies/extension/kibana/README.md
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Aug 12 01:26:21 GMT 2019 - 1.2K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/complete-model/w-parent/sub/pom.xml
<url>https://developer</url> <organization>developer</organization> <organizationUrl>https://devel.org</organizationUrl> <roles> <role>devel</role> </roles> <timezone>-1</timezone> <properties> <developer>yes</developer> </properties> </developer> </developers> <contributors> <contributor> <name>project-contributor</name>
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Mar 29 19:02:56 GMT 2020 - 8.8K bytes - Viewed (0) -
internal/amztime/iso8601_time.go
) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids // padding the extra '0' before the timezone. func ISO8601Format(t time.Time) string { value := t.Format(iso8601TimeFormat) if len(value) < len(iso8601TimeFormat) { value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 16 23:38:33 GMT 2023 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl
[out,switch_is(level)] ServerInfo *info); typedef struct { uint32_t elapsedt; uint32_t msecs; uint32_t hours; uint32_t mins; uint32_t secs; uint32_t hunds; uint32_t timezone; uint32_t tinterval; uint32_t day; uint32_t month; uint32_t year; uint32_t weekday; } TimeOfDayInfo; [op(0x1c)] int RemoteTOD([in,string,unique] wchar_t *servername,
Others - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.2K bytes - Viewed (0)