Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5151 - 5160 of 7,967 for aclass (0.19 sec)

  1. tests/test_security_api_key_query_description.py

    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", description="API Key Query")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java

    package gradlebuild.docs.dsl.docbook;
    
    public interface JavadocLexer {
        /**
         * Visits the tokens in the input stream for this lexer. Reads to the end of the input.
         */
        void visit(TokenVisitor visitor);
    
        class TokenVisitor {
            void onStartHtmlElement(String name) {
            }
    
            void onHtmlElementAttribute(String name, String value) {
            }
    
            void onStartHtmlElementComplete(String name) {
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/IterationMarkCharFilterFactory.java

    import org.opensearch.common.settings.Settings;
    import org.opensearch.env.Environment;
    import org.opensearch.index.IndexSettings;
    import org.opensearch.index.analysis.AbstractCharFilterFactory;
    
    public class IterationMarkCharFilterFactory extends AbstractCharFilterFactory {
    
        public IterationMarkCharFilterFactory(final IndexSettings indexSettings, final Environment env, final String name,
                final Settings settings) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/TestEntity.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    import java.util.List;
    
    /**
     * @author shinsuke
     *
     */
    public class TestEntity {
        private String title;
    
        private String body;
    
        private List<String> list;
    
        public List<String> getList() {
            return list;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

    import java.util.Set;
    
    import org.codelibs.fess.crawler.entity.RequestData;
    
    /**
     * ChildUrlsException is thrown when having child urls.
     *
     * @author shinsuke
     *
     */
    public class ChildUrlsException extends CrawlerSystemException {
    
        private static final long serialVersionUID = 1L;
    
        private final Set<RequestData> childUrlList;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetOperationsTest.java

    /**
     * Unit tests for {@link Sets#union}, {@link Sets#intersection} and {@link Sets#difference}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class SetOperationsTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

     */
    
    package jcifs.netbios;
    
    
    import java.net.InetAddress;
    
    import jcifs.Configuration;
    import jcifs.util.Hexdump;
    
    
    abstract class NameServicePacket {
    
        // opcode
        static final int QUERY = 0;
        static final int WACK = 7;
    
        // rcode
        static final int FMT_ERR = 0x1;
        static final int SRV_ERR = 0x2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    import java.net.InetAddress;
    
    import jcifs.smb1.util.Hexdump;
    
    abstract class NameServicePacket {
    
        // opcode
        static final int QUERY = 0;
        static final int WACK = 7;
    
        // rcode
        static final int FMT_ERR = 0x1;
        static final int SRV_ERR = 0x2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        }
    
        @Nonnull
        static ModelBuilderRequestBuilder builder(ModelBuilderRequest request) {
            return new ModelBuilderRequestBuilder(request);
        }
    
        @NotThreadSafe
        class ModelBuilderRequestBuilder {
            Session session;
            RequestType requestType;
            boolean locationTracking;
            boolean recursive;
            ModelSource source;
            Collection<Profile> profiles;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/handling-errors.md

    {!../../docs_src/handling_errors/tutorial002.py!}
    ```
    
    ## Установка пользовательских обработчиков исключений
    
    Вы можете добавить пользовательские обработчики исключений с помощью <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">то же самое исключение - утилиты от Starlette</a>.
    
    Допустим, у вас есть пользовательское исключение `UnicornException`, которое вы (или используемая вами библиотека) можете `вызвать`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top