Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 2,572 for Creates (0.13 sec)

  1. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "post": {
                        "summary": "Create Item",
                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

        private String newInput;
    
        public ProtwordsItem(final long id, final String input) {
            this.id = id;
            this.input = input;
    
            if (id == 0) {
                // create
                newInput = input;
            }
        }
    
        public String getNewInput() {
            return newInput;
        }
    
        public void setNewInput(final String newInput) {
            this.newInput = newInput;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

        public Integer sortOrder;
    
        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
            boost = 1.0f;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java

            this.stopWords =
                    Analysis.parseWords(env, settings, "stopwords", JapaneseAnalyzer.getDefaultStopSet(), NAMED_STOP_WORDS, ignoreCase);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            if (removeTrailing) {
                return new StopFilter(tokenStream, stopWords);
            } else {
                return new SuggestStopFilter(tokenStream, stopWords);
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/events.md

    You can define this *startup* and *shutdown* logic using the `lifespan` parameter of the `FastAPI` app, and a "context manager" (I'll show you what that is in a second).
    
    Let's start with an example and then see it in detail.
    
    We create an async function `lifespan()` with `yield` like this:
    
    {* ../../docs_src/events/tutorial003.py hl[16,19] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. cmd/kms-handlers.go

    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, v)
    }
    
    // KMSCreateKeyHandler - POST /minio/kms/v1/key/create?key-id=<master-key-id>
    func (a kmsAPIHandlers) KMSCreateKeyHandler(w http.ResponseWriter, r *http.Request) {
    	// If env variable MINIO_KMS_SECRET_KEY is populated, prevent creation of new keys
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/bsbhv/BsClickLogBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends ClickLog> RESULT updateEntity(Map<String, Object> source, RESULT result) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java

                result.setName(DfTypeUtil.toString(source.get("name")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends Group> RESULT updateEntity(Map<String, Object> source, RESULT result) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDuplicateHostBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top