Skip to content

Documentation beginnings#22

Open
phill44-source wants to merge 4 commits intooffenesdresden:masterfrom
phill44-source:patch-1
Open

Documentation beginnings#22
phill44-source wants to merge 4 commits intooffenesdresden:masterfrom
phill44-source:patch-1

Conversation

@phill44-source
Copy link

No description provided.

Updated comments for 'line' and 'direction' attributes in Departure and PartialRoute classes to provide examples.
Classes docs for all Classes except for RouteChange and ValidityPeriod
line: str
direction: str # destination name
line: str # e.g. 3, 8, RE80
direction: str # Most commonly name of last Station
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this change, the VVO/DVB itself describe it as the destination name, and I'd like to keep that wording. Some destinations like "Btf Trachenberge" are specifically not stations.

id: str
line: str
direction: str # destination name
line: str # e.g. 3, 8, RE80
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
line: str # e.g. 3, 8, RE80
line: str # e.g. "3", "8", "RE80"

Examples are good, but please keep the formatting and make the types clear.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants