- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 6,706 for importOf (0.05 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility.rules import japicmp.model.JApiClass import javassist.ClassPool import me.champeau.gradle.japicmp.report.ViolationCheckContext import spock.lang.Specification import spock.lang.TempDir abstract class AbstractContextAwareRuleSpecification extends Specification { @TempDir File testDir
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2K bytes - Viewed (0) -
docs_src/security/tutorial002.py
from typing import Union from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None def fake_decode_token(token): return User(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 755 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
*/ package org.codelibs.fess.helper; import java.io.File; import java.math.BigDecimal; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import org.codelibs.core.io.FileUtil; import org.codelibs.core.misc.DynamicProperties; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.QueryContext;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 39.8K bytes - Viewed (0) -
docs_src/security/tutorial007_an_py39.py
import secrets from typing import Annotated from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() def get_current_username( credentials: Annotated[HTTPBasicCredentials, Depends(security)], ): current_username_bytes = credentials.username.encode("utf8") correct_username_bytes = b"stanleyjobson"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java
package org.codelibs.fess.es.config.bsentity.dbmeta; import java.time.LocalDateTime; import java.util.List; import java.util.Map; import org.codelibs.fess.es.config.exentity.DataConfig; import org.dbflute.Entity; import org.dbflute.dbmeta.AbstractDBMeta; import org.dbflute.dbmeta.info.ColumnInfo; import org.dbflute.dbmeta.info.UniqueInfo; import org.dbflute.dbmeta.name.TableSqlName; import org.dbflute.dbmeta.property.PropertyGateway;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
*/ package org.codelibs.core.beans.util; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.CoreMatchers.sameInstance; import static org.junit.Assert.assertThat; import java.sql.Time; import java.sql.Timestamp; import java.util.Date; import org.codelibs.core.beans.converter.DateConverter;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/schemas.py
from typing import Any, List, Union import peewee from pydantic import BaseModel from pydantic.utils import GetterDict class PeeweeGetterDict(GetterDict): def get(self, key: Any, default: Any = None): res = getattr(self._obj, key, default) if isinstance(res, peewee.ModelSelect): return list(res) return res class ItemBase(BaseModel): title: str description: Union[str, None] = None
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 868 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001.py
import gzip from typing import Callable, List from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 973 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestWriter.java
* limitations under the License. */ package com.google.common.io; import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; import java.io.FilterWriter; import java.io.IOException; import java.io.OutputStreamWriter; /** @author Colin Decker */ public class TestWriter extends FilterWriter {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.io.IOException; import java.io.OutputStream; import org.junit.Test; /** * @author shot */ public class CloseableUtilTest { /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0)