Skip to content

Commit

Permalink
Change to imperative style
Browse files Browse the repository at this point in the history
Co-authored-by: Cecilie Seim <68303562+tilen1976@users.noreply.github.com>
  • Loading branch information
mmwinther and tilen1976 authored Aug 2, 2024
1 parent ce0d15c commit f04ffc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datadoc/backend/statistic_subject_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ class PrimarySubject(Subject):


class StatisticSubjectMapping(GetExternalSource):
"""Provides mapping between statistic short name and primary and secondary subject."""
"""Provide mapping between statistic short name and primary and secondary subject."""

def __init__(
self,
executor: concurrent.futures.ThreadPoolExecutor,
source_url: str | None,
) -> None:
"""Retrieves the statistical structure document from the given URL.
"""Retrieve the statistical structure document from the given URL.
Initializes the mapping based on values in the statistical structure document sourced at `source_url`.
Expand Down

0 comments on commit f04ffc6

Please sign in to comment.