Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37517

Modernize type annotations in ts_utils and simplify ImageNameServiceClient

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_middleware
    • Labels:
    • Story Points:
      1
    • Sprint:
      TSSW Sprint - Jan 02 - Jan 16, TSSW Sprint - Jan 16 - Jan 30
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Modernize type annotations to use | instead of typing.Optional and typing.Union, etc.

      I also tried modernize the doc build to use documenteer[guide] in ts_utils. This is an experiment to try out the modern documenteer that can generate type information for parameters (but not yet return values) from type annotations. That is on tag "documenteer-guide" but we decided not to include it in this ticket.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Reviewers:
              Eric Coughlin
              Watchers:
              Eric Coughlin, Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.