- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 971 for ignores (0.09 sec)
-
tests/test_get_request_body.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Product(BaseModel): name: str description: str = None # type: ignore price: float @app.get("/product") async def create_item(product: Product): return product client = TestClient(app) def test_get_with_body():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.7K bytes - Viewed (0) -
.gitignore
.gradletasknamecache # Added GE support maven support to the maven build in .teamcity, per the GE docs, this dir is NOT to be committed .teamcity/.mvn/.develocity/ /discoclient.properties # Ignore local configuration files for asdf, allowing the JDK to be configured for project (https://asdf-vm.com)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 16 09:50:46 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
} catch (IOException e) { throw new PACDecodingException("Malformed Kerberos Ticket", e); } break; case 4: // Let's ignore this for now break; default: throw new PACDecodingException("Invalid field in kerberos ticket"); } } } public byte getApOptions () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
this.path = filename; } else { this.path = filename + "\\"; } this.wildcard = wildcard; this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */ command = SMB_COM_TRANSACTION2; subCommand = TRANS2_FIND_FIRST2; flags = 0x00; informationLevel = SMB_FILE_BOTH_DIRECTORY_INFO; totalDataCount = 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.4K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
// Deprecated: use TMethod. func (s *S2) SMethod(x int8, y int16, z int64) {} type s struct{} func (s) method() func (s) Method() func (S) StructValueMethod() func (ignored S) StructValueMethodNamedRecv() func (s *S2) unexported(x int8, y int16, z int64) {} func Bar(x int8, y int16, z int64) {} func Bar1(x int8, y int16, z int64) uint64 {}
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 3.3K bytes - Viewed (0) -
utils/utils.go
func RTrimSlice[T any](v []T, trimLen int) []T { if trimLen >= len(v) { // trimLen greater than slice len means fully sliced return v[:0] } if trimLen < 0 { // negative trimLen is ignored return v[:] } return v[:len(v)-trimLen]
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
final Extractor oldExtractor = extractorMap.get(key); if (oldExtractor.getWeight() > extractor.getWeight()) { if (logger.isDebugEnabled()) { logger.debug("Ignored {} on {}. Use {}.", extractor.getClass().getName(), key, oldExtractor.getClass().getName()); } return; } } extractorMap.put(key, extractor);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
try { Config.prp.putAll( System.getProperties() ); } catch( SecurityException se ) { if( log.level > 1 ) log.println( "SecurityException: jcifs.smb1 will ignore System properties" ); } } /** * Load the <code>Config</code> with properties from the stream * <code>in</code> from a <code>Properties</code> file. */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
misc/cgo/gmp/pi.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore package main import ( big "." "fmt" "runtime" ) var ( tmp1 = big.NewInt(0) tmp2 = big.NewInt(0) numer = big.NewInt(1) accum = big.NewInt(0) denom = big.NewInt(1) ten = big.NewInt(10) ) func extractDigit() int64 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 1.3K bytes - Viewed (0) -
tests/test_multi_body_errors.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel, condecimal app = FastAPI() class Item(BaseModel): name: str age: condecimal(gt=Decimal(0.0)) # type: ignore @app.post("/items/") def save_item_no_body(item: List[Item]): return {"item": item} client = TestClient(app) def test_put_correct_body():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.6K bytes - Viewed (0)