🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "idempotent"

Found 12 matching component(s)

  • function ensure_dir_exists

    Creates a directory and all necessary parent directories if they don't already exist, with logging support.

    File: /tf/active/vicechatdev/msg_to_eml.py

    filesystem directory utility file-operations path-management
  • function api_create_chat_session

    Flask API endpoint that creates or retrieves a chat session associated with a specific document section, ensuring proper validation and linking between documents, sections, and chat sessions.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api rest-endpoint chat-session document-management
  • function migrate_approval_cycles

    Migrates legacy Approval nodes and their related structures to the new ApprovalCycle model in a Neo4j graph database, creating ApprovalCycle nodes and ApproverAssignment nodes while maintaining relationships with DocumentVersion nodes.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    database-migration neo4j graph-database approval-workflow data-transformation
  • function initialize_approval_workflow_types

    Initializes default approval workflow types in a Neo4j database by creating or updating four predefined workflow type nodes (STANDARD, DEPARTMENT, QUALITY, REGULATORY) with their configurations.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    neo4j database-initialization workflow approval-workflow graph-database
  • function ensure_audit_trail_exists_v1

    Ensures a singleton AuditTrail node exists in a Neo4j database, creating it if necessary, and returns its unique identifier.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    neo4j graph-database audit-trail idempotent database-initialization
  • function ensure_dir

    Creates a directory and all necessary parent directories if they don't already exist, returning a boolean indicating success or failure.

    File: /tf/active/vicechatdev/CDocs/utils/__init__.py

    filesystem directory file-operations utility error-handling
  • function initialize_schema_v1

    Initializes a Neo4j database schema by creating constraints, indexes, a root CDocs node, audit trail, and migrating approval data and workflow types.

    File: /tf/active/vicechatdev/CDocs single class/db/schema_manager.py

    neo4j database schema initialization migration
  • function migrate_review_assignments

    Migrates legacy review data from direct REVIEWED_BY relationships to a new ReviewerAssignment node model in a Neo4j graph database.

    File: /tf/active/vicechatdev/CDocs single class/db/schema_manager.py

    database-migration neo4j graph-database data-transformation reviewer-assignment
  • function initialize_approval_workflow_types_v1

    Initializes six predefined approval workflow types (STANDARD, PARALLEL, DEPARTMENT, QUALITY, REGULATORY, EXECUTIVE) in a Neo4j database with their configurations including min/max steps.

    File: /tf/active/vicechatdev/CDocs single class/db/schema_manager.py

    neo4j database-initialization approval-workflow graph-database setup
  • function init_admin_role

    Initializes an ADMIN role for a specific administrator user (wim@vicebio.com) in a Neo4j graph database by creating role relationships if they don't already exist.

    File: /tf/active/vicechatdev/CDocs single class/db/schema_manager.py

    admin initialization role-management neo4j graph-database
  • function ensure_audit_trail_exists

    Ensures a singleton AuditTrail node exists in a Neo4j database, creating it if absent, and returns its unique identifier.

    File: /tf/active/vicechatdev/CDocs single class/db/schema_manager.py

    neo4j database audit initialization idempotent
  • function ensure_download_dir

    Creates a directory at the specified path, including any necessary parent directories, without raising an error if the directory already exists.

    File: /tf/active/vicechatdev/mailsearch/example_script.py

    filesystem directory utility file-management path-creation

Search Examples