Skip to content

Commit

Permalink
Update project_components.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
r-akemii committed Sep 17, 2024
1 parent 8a8b08e commit 34076a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Each item in the 'link_types' table is a ``LinkType`` object.
>>> link_types.save()

# To check all `LinkTypes` in the project as a dictionary whose keys are the `link_type_id`'s
>>> link_types.all_types() # doctest: +ELLIPSIS
>>> print(link_types.all_types()) # doctest: +ELLIPSIS
{'z': <aequilibrae.project.network.link_type.LinkType object at 0x...>}

# There are two ways to get a LinkType from the 'link_types' table
Expand Down Expand Up @@ -298,7 +298,7 @@ Each item in 'modes' table is a ``Mode`` object.
>>> modes.delete("k")

# To check all `Modes` in the project as a dictionary whose keys are the `mode_id`'s
>>> modes.all_modes() # doctest: +ELLIPSIS
>>> print(modes.all_modes()) # doctest: +ELLIPSIS
{'b': <aequilibrae.project.network.mode.Mode object at 0x...>}

# There are two ways to get a Mode from the 'modes' table
Expand Down

0 comments on commit 34076a4

Please sign in to comment.