Skip to content

Common usage documentation #195

Description

@joshua-dean

api_spec.md has a lot of content, but doesn't always describe the intended usage of certain components.

For example, state["current_subtask"] should really only be used by a few internal functions, everything else should use get_current_subtask_key() (or get_current_subtask()).

Similarly, annotations shouldn't be marked "deprecated" directly, they should use mark_deprecated() (see #194).

Some of this "common usage" or "best practices" should be documented in a single spot, to avoid confusion and prevent future bugs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions