Skip to main content

API Overview


Source

class FeedbackQuery

Lazy-loading object for fetching feedback from the server. Source

method __init__

__init__(
    entity: 'str',
    project: 'str',
    query: 'Query',
    offset: 'int | None' = None,
    limit: 'int | None' = None,
    show_refs: 'bool' = False
)

Source

method execute

execute() → Feedbacks

Source

method refresh

refresh() → Feedbacks

Source

method refs

refs() → Refs

Source

class Feedbacks

A collection of Feedback objects with utilities. Source

method __init__

__init__(
    show_refs: 'bool',
    feedbacks: 'Iterable[Feedback] | None' = None
) → None

Source

method refs

refs() → Refs
Return the unique refs associated with these feedbacks.
Source

class RefFeedbackQuery

Object for interacting with feedback associated with a particular ref. Source

method __init__

__init__(ref: 'str') → None

Source

method add

add(
    feedback_type: 'str',
    payload: 'dict[str, Any] | None' = None,
    creator: 'str | None' = None,
    annotation_ref: 'str | None' = None,
    **kwargs: 'dict[str, Any]'
) → str
Add feedback to the ref. feedback_type: A string identifying the type of feedback. The “wandb.” prefix is reserved. creator: The name to display for the originator of the feedback.
Source

method add_note

add_note(note: 'str', creator: 'str | None' = None) → str

Source

method add_reaction

add_reaction(emoji: 'str', creator: 'str | None' = None) → str

Source

method execute

execute() → Feedbacks

Source

method purge

purge(feedback_id: 'str') → None

Source

method refresh

refresh() → Feedbacks

Source

method refs

refs() → Refs