- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,239 for Clauss (0.21 sec)
-
internal/config/storageclass/storage-class.go
StandardEnv = "MINIO_STORAGE_CLASS_STANDARD" // Optimize storage class environment variable OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE" // Supported storage class scheme is EC schemePrefix = "EC" // Min parity drives minParityDrives = 0 // Default RRS parity is always minimum parity. defaultRRSParity = 1 ) // DefaultKVS - default storage class config var (
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Mar 14 10:38:33 GMT 2024 - 10K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
{"REDUCED_REDUNDANCY", true}, {"", false}, {"INVALID", false}, {"123", false}, {"MINIO_STORAGE_CLASS_RRS", false}, {"MINIO_STORAGE_CLASS_STANDARD", false}, } for i, tt := range tests { if got := IsValid(tt.sc); got != tt.want { t.Errorf("Test %d, Expected Storage Class to be %t, got %t", i+1, tt.want, got) } }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Viewed (0) -
tests/test_inherited_custom_class.py
with pytest.raises(TypeError): vars(asyncpg_uuid) return {"fast_uuid": asyncpg_uuid} class SomeCustomClass(BaseModel): class Config: arbitrary_types_allowed = True json_encoders = {uuid.UUID: str} a_uuid: MyUuid @app.get("/get_custom_class") def return_some_user(): # Test that the fix also works for custom pydantic classes
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3K bytes - Viewed (0) -
tests/test_custom_route_class.py
from starlette.routing import Route app = FastAPI() class APIRouteA(APIRoute): x_type = "A" class APIRouteB(APIRoute): x_type = "B" class APIRouteC(APIRoute): x_type = "C" router_a = APIRouter(route_class=APIRouteA) router_b = APIRouter(route_class=APIRouteB) router_c = APIRouter(route_class=APIRouteC) @router_a.get("/") def get_a(): return {"msg": "A"}
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.1K bytes - Viewed (0) -
tests/test_additional_responses_response_class.py
from pydantic import BaseModel app = FastAPI() class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: typing.List[Error] @app.get( "/a", response_class=JsonApiResponse, responses={500: {"description": "Error", "model": JsonApiError}}, )
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.5K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
from pydantic import BaseModel app = FastAPI() class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: typing.List[Error] @app.get( "/a", response_class=Response, responses={500: {"description": "Error", "model": JsonApiError}}, )
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.3K bytes - Viewed (0) -
RELEASE.md
when calling the layer. * Added `ignore_class` argument in the loss `SparseCategoricalCrossentropy` and metrics `IoU` and `MeanIoU`, to specify a class index to be ignored during loss/metric computation (e.g. a background/void class). * Added
Plain Text - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri Mar 22 09:52:18 GMT 2024 - 726.5K bytes - Viewed (8) -
src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java
final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery(); for (final BooleanClause clause : booleanQuery.clauses()) { final QueryBuilder queryBuilder = getQueryProcessor().execute(context, clause.getQuery(), boost); if (queryBuilder != null) { switch (clause.getOccur()) { case MUST: boolQuery.must(queryBuilder); break;
Java - Registered: Mon Mar 25 08:04:08 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.9K bytes - Viewed (0) -
chainable_api.go
tx = db.getInstance() tx.Statement.Model = value return } // Clauses Add clauses // // This supports both standard clauses (clause.OrderBy, clause.Limit, clause.Where) and more // advanced techniques like specifying lock strength and optimizer hints. See the // [docs] for more depth. // // // add a simple limit clause // db.Clauses(clause.Limit{Limit: 1}).Find(&User{}) // // tell the optimizer to use the `idx_user_name` index
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 13.9K bytes - Viewed (1) -
schema/interfaces.go
} // CreateClausesInterface create clauses interface type CreateClausesInterface interface { CreateClauses(*Field) []clause.Interface } // QueryClausesInterface query clauses interface type QueryClausesInterface interface { QueryClauses(*Field) []clause.Interface } // UpdateClausesInterface update clauses interface type UpdateClausesInterface interface { UpdateClauses(*Field) []clause.Interface }
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 980 bytes - Viewed (0)