objectstate

User Guide

  • Quick Start Guide
  • Architecture
  • State Management
  • State Propagation and Parent Notification
  • Provenance Tracking
  • Undo / Redo
  • Architectural Fixes & Improvements
  • Examples
    • Basic Usage
    • Dual-Axis Inheritance
    • UI Integration
    • Atomic Operations

API Reference

  • API Reference
objectstate
  • Examples
  • View page source

Examples

This section provides practical examples of using objectstate.

  • Basic Usage
    • Simple Configuration
    • Multiple Configurations
    • Function Integration
    • Overriding Values
    • Automatic Field Injection with Decorators
    • Nested Dataclass Auto-Lazification
  • Dual-Axis Inheritance
    • Understanding Dual-Axis Inheritance
    • X-Axis: Context Hierarchy
    • Y-Axis: Class Inheritance
    • Selective Inheritance
    • Multiple Inheritance with inherit_as_none
  • UI Integration
    • Placeholder Service
    • Form Field Generation
    • Configuration Editor
    • Validation with UI Feedback
    • Hiding Configs from UI with ui_hidden
  • Atomic Operations
    • Problem: Multiple Snapshots for One Action
    • Solution: atomic() Context Manager
    • How It Works
    • API Reference
    • Nested Atomic Blocks
    • Real-World Use Cases
    • Best Practices
    • Thread Safety
Previous Next

© Copyright 2024, Tristan Simas.

Built with Sphinx using a theme provided by Read the Docs.