Skip to content

API docs: minor fixes for spatial types #851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions neo4j/_spatial/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


"""
This module defines _spatial data types.
This module defines spatial data types.
"""

from __future__ import annotations
Expand All @@ -32,7 +32,7 @@


class Point(t.Tuple[float, ...]):
"""Base-class for _spatial data.
"""Base-class for spatial data.

A point within a geometric space. This type is generally used via its
subclasses and should not be instantiated directly unless there is no
Expand All @@ -44,10 +44,9 @@ class Point(t.Tuple[float, ...]):
:type iterable: Iterable[float]
"""

#: The SRID (_spatial reference identifier) of the _spatial data.
#: A number that identifies the coordinate system the _spatial type is to be
#: interpreted in.

#: The SRID (spatial reference identifier) of the spatial data.
#: A number that identifies the coordinate system the spatial type is to
#: be interpreted in.
srid: t.Optional[int]

@property
Expand Down