Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,436 for message_0 (0.06 sec)

  1. docs_src/generate_clients/tutorial001.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=List[Item])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 519 bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolutionException.java

        public GraphConflictResolutionException() {}
    
        public GraphConflictResolutionException(String message) {
            super(message);
        }
    
        public GraphConflictResolutionException(Throwable cause) {
            super(cause);
        }
    
        public GraphConflictResolutionException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java

    @Deprecated
    public class MissingRepositoryElementException extends InvalidRepositoryException {
    
        public MissingRepositoryElementException(String message, String repositoryId) {
            super(message, repositoryId);
        }
    
        public MissingRepositoryElementException(String message) {
            super(message, "-unknown-");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. docs_src/request_files/tutorial001_02.py

    @app.post("/files/")
    async def create_file(file: Union[bytes, None] = File(default=None)):
        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 508 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToUploadStemmeroverrideFile(GLOBAL),
                            () -> redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId)));
                }
                saveInfo(messages -> messages.addSuccessUploadStemmeroverrideFile(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. scripts/deploy_docs_status.py

            current_lang_links.sort()
            links.extend(current_lang_links)
    
        message = f"📝 Docs preview for commit {settings.commit_sha} at: {deploy_url}"
    
        if links:
            message += "\n\n### Modified Pages\n\n"
            message += "\n".join([f"* {link}" for link in links])
    
        print(message)
        use_pr.as_issue().create_comment(message)
    
        logging.info("Finished")
    
    
    if __name__ == "__main__":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py

        from docs_src.dependency_testing.tutorial001_an_py310 import client
    
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_an_py310 import client
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py

        from docs_src.dependency_testing.tutorial001_an_py39 import client
    
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py39
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_an_py39 import client
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
                            this::asEditHtml);
                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. .github/workflows/issue-manager.yml

                {
                  "answered": {
                    "delay": 864000,
                    "message": "Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs."
                  },
                  "waiting": {
                    "delay": 2628000,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 10:38:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top