🔍 Code Extractor

Browse Components

Showing 20 of 1716 components

  • function main_page

    Renders the main navigation page for the FileCloud Data Processor application, providing authenticated users with access to various modules including document audit, controlled documents, settings, and reports.

    File: /tf/active/vicechatdev/datacapture_integrated.py | Lines: 4128-4213

    streamlit ui navigation authentication dashboard
  • function file_cleanup

    Removes files older than 60 seconds from the './static/files/' directory.

    File: /tf/active/vicechatdev/datacapture_integrated.py | Lines: 4091-4100

    file-management cleanup temporary-files maintenance file-deletion
  • class pathobrowser_base

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

    File: /tf/active/vicechatdev/datacapture_integrated.py | Lines: 128-4087

    class pathobrowser_base
  • class switch

    A Python implementation of a switch-case statement helper that mimics C-style switch behavior with fall-through support.

    File: /tf/active/vicechatdev/datacapture_integrated.py | Lines: 105-124

    control-flow switch-case menu-selection pattern-matching helper-class
  • function quick_clean

    Cleans flock data by identifying and removing flocks that have treatment records with timing inconsistencies (treatments administered outside the flock's start/end date range).

    File: /tf/active/vicechatdev/quick_cleaner.py | Lines: 9-72

    data-cleaning data-quality flock-management livestock poultry
  • function create_document_detail

    Factory function that creates and initializes a DocumentDetail panel component, optionally loading a specific document by its UID.

    File: /tf/active/vicechatdev/document_detail_backup.py | Lines: 2132-2155

    ui panel document-management factory-function controlled-documents
  • class DocumentDetail

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_backup.py | Lines: 64-2129

    class documentdetail
  • class PatternBasedExtractor

    Extract flocks based on farm-level In-Ovo usage patterns.

    File: /tf/active/vicechatdev/pattern_based_extraction.py | Lines: 51-503

    class patternbasedextractor
  • class FileCloudAPI

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

    File: /tf/active/vicechatdev/FC_api copy.py | Lines: 16-2165

    class filecloudapi
  • function _download_current_version

    Downloads the current version of a document from either FileCloud storage or standard storage, handling different storage types and triggering a browser download.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 2427-2481

    document-management file-download filecloud storage panel
  • function _view_document

    Views and downloads the current version of a document, with special handling for FileCloud-stored documents versus locally stored documents.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 2389-2425

    document-management file-download filecloud storage panel
  • function create_audit_entry

    Creates an audit trail entry for document actions, logging user activity, document changes, and lifecycle events with fallback mechanisms.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 2323-2387

    audit logging document-management compliance tracking
  • function update_document

    Updates properties of a controlled document including title, description, status, owner, and metadata, with special handling for status transitions that require format conversions or publishing workflows.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1640-1775

    document-management update controlled-document status-transition audit-trail
  • function get_document_edit_url

    Generates an online editing URL for a document stored in FileCloud, allowing users to edit documents that are in editable states.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1547-1634

    document-management filecloud url-generation permission-control version-control
  • function get_document_download_url

    Retrieves a download URL for a controlled document, automatically selecting between editable (Word) and PDF formats based on document status or explicit request.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1176-1275

    document-management file-download url-generation version-control filecloud
  • function get_document_audit_trail

    Retrieves the complete audit trail for a controlled document from a Neo4j graph database, including timestamps, user actions, and event details.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1115-1172

    audit document-management neo4j graph-database compliance
  • function publish_document

    Publishes an approved controlled document by converting it to PDF with signatures and audit trail, uploading to FileCloud, and updating the document status to PUBLISHED.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 895-1103

    document-management publishing pdf-conversion audit-trail controlled-documents
  • function set_current_version

    Sets a specific version of a controlled document as the current/active version, updating the document's currentVersionUID property and logging the change.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 797-888

    document-management version-control controlled-documents audit-trail permissions
  • function delete_document

    Deletes a controlled document from the system with permission checks, status validation, and audit logging.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 407-466

    document-management deletion controlled-documents audit-trail permissions
  • function search_documents

    Searches for documents in a Neo4j graph database based on multiple optional filter criteria including text query, document type, department, status, and owner.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 308-402

    search documents neo4j cypher database-query