Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 391 for engine (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/sql_databases/tutorial001_an_py310.py

    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
        SQLModel.metadata.create_all(engine)
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. docs_src/sql_databases/tutorial002_py310.py

    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
        SQLModel.metadata.create_all(engine)
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. docs_src/sql_databases/tutorial002_an_py310.py

    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
        SQLModel.metadata.create_all(engine)
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. docs/docker/README.md

    ### Starting and Stopping Containers
    
    To start a stopped container, you can use the [`docker start`](https://docs.docker.com/engine/reference/commandline/start/) command.
    
    ```sh
    docker start <container_id>
    ```
    
    To stop a running container, you can use the [`docker stop`](https://docs.docker.com/engine/reference/commandline/stop/) command.
    
    ```sh
    docker stop <container_id>
    ```
    
    ### MinIO container logs
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial014_an_py310.py

    from sqlmodel import Field, Session, SQLModel, create_engine
    
    engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db")
    
    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/script/ScriptEngine.java

    /**
     * Interface for script engines that can evaluate templates with parameters.
     * This interface provides a contract for different script engine implementations
     * to process template strings with parameter substitution.
     */
    public interface ScriptEngine {
    
        /**
         * Evaluates a template string with the provided parameter map.
         * The template is processed using the script engine's templating mechanism,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

    import jakarta.servlet.ServletOutputStream;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * API manager for search engine administrative operations.
     * Provides secure access to search engine APIs through authentication and token-based authorization.
     */
    public class SearchEngineApiManager extends BaseApiManager {
        private static final String ADMIN_SERVER = "/admin/server_";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/SystemUtil.java

        /**
         * Private constructor to prevent instantiation.
         */
        private SystemUtil() {
        }
    
        /**
         * Gets the HTTP address of the search engine.
         *
         * @return The search engine HTTP address.
         */
        public static String getSearchEngineHttpAddress() {
            return System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:32:50 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. src/main/resources/lasta_di.properties

    smart.deploy.mode.location = fess_env.properties: lasta_di.smart.deploy.mode
    
    # package for smart deploy target e.g. org.docksidestage.app
    smart.package1 = org.codelibs.fess.app
    
    # script engine
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Apr 05 21:04:36 GMT 2019
    - 457 bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/sql-databases.md

    ### Create an Engine { #create-an-engine }
    
    A SQLModel `engine` (underneath it's actually a SQLAlchemy `engine`) is what **holds the connections** to the database.
    
    You would have **one single `engine` object** for all your code to connect to the same database.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
Back to Top