- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 498 for uuid4 (0.19 sec)
-
docs_src/extra_data_types/tutorial001_an.py
from datetime import datetime, time, timedelta from typing import Union from uuid import UUID from fastapi import Body, FastAPI from typing_extensions import Annotated app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()],
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 830 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/log/backend_test.go
See the License for the specific language governing permissions and limitations under the License. */ package log import ( "bytes" "reflect" "regexp" "testing" "time" "github.com/google/uuid" authnv1 "k8s.io/api/authentication/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 08 06:37:26 UTC 2022 - 5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/id/UUIDGenerator.java
* limitations under the License. */ package org.gradle.internal.id; import java.util.UUID; public class UUIDGenerator implements IdGenerator<UUID> { @Override public UUID generateId() { return UUID.randomUUID(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 818 bytes - Viewed (0) -
tests/postgres_test.go
if !hasLogID { t.Fatalf("failed to found column log_id") } } type Post struct { ID uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"` Title string Categories []*Category `gorm:"Many2Many:post_categories"` } type Category struct { ID uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"` Title string Posts []*Post `gorm:"Many2Many:post_categories"` }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/types/uid.go
See the License for the specific language governing permissions and limitations under the License. */ package types // UID is a type that holds unique ID values, including UUIDs. Because we // don't ONLY use UUIDs, this is an alias to string. Being a type captures // intent and helps make sure that UIDs and names do not get conflated.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 825 bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBinding.java
} /** * @return the endpoint */ public String getEndpoint () { return this.endpoint; } /** * @return the uuid */ UUID getUuid () { return this.uuid; } /** * @return the major */ int getMajor () { return this.major; } /** * @return the minor
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_update_uuid.go
package ld // This file provides helper functions for updating/rewriting the UUID // load command within a Go go binary generated on Darwin using // external linking. Why is it necessary to update the UUID load // command? See issue #64947 for more detail, but the short answer is // that newer versions of the Macos toolchain (the newer linker in // particular) appear to compute the UUID based not just on the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 3.3K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py39.py
from datetime import datetime, time, timedelta from typing import Annotated, Union from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[Union[time, None], Body()] = None, ):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 801 bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_py310.py
from datetime import datetime, time, timedelta from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: datetime = Body(), end_datetime: datetime = Body(), process_after: timedelta = Body(), repeat_at: time | None = Body(default=None), ): start_process = start_datetime + process_after
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 724 bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py310.py
from datetime import datetime, time, timedelta from typing import Annotated from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[time | None, Body()] = None, ):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 788 bytes - Viewed (0)