Skip to content

EditableSource

Base classes

Name Children Inherits
Protocol
typing
Base class for protocol classes.

⋔ Inheritance diagram

graph TD
  2931448638["source.EditableSource"]
  1073422405["typing.Protocol"]
  3481597255["typing.Generic"]
  2751680898["builtins.object"]
  1073422405 --> 2931448638
  3481597255 --> 1073422405
  2751680898 --> 3481597255

🛈 DocStrings

Bases: Protocol

Optional hook: a source whose frame can be changed cell by cell (GUI thread).

Source code in src/cutepandas/frames/source.py
@runtime_checkable
class EditableSource(Protocol):
    """Optional hook: a source whose frame can be changed cell by cell (GUI thread)."""

    def set_value(self, row: int, column: int, value: Any) -> None:
        """Change one cell in place; raises on invalid values."""
        ...

set_value

set_value(row: int, column: int, value: Any) -> None

Change one cell in place; raises on invalid values.

Source code in src/cutepandas/frames/source.py
def set_value(self, row: int, column: int, value: Any) -> None:
    """Change one cell in place; raises on invalid values."""
    ...

:fa-brands-github: Show source on GitHub