Skip to content
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

added correct function #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

1-ARIjitS
Copy link

changed function signature from distance_datespanset_datespan to distance_datespan_datespan for datespan instance in distance fucntion of datespan class

changed function signature from distance_datespanset_datespan to distance_datespan_datespan for datespan instance in distance fucntion of datespan class
@Diviloper
Copy link
Member

The test pipelines are failing due to recent changes in MEOS that have not been adapted into PyMEOS yet, so as soon as the code lint passes, I'll approve the PR.
This should be also be backported to the 1.1 branch (feel free to create another PR there, otherwise, I'll do it when I can), and as soon as it is, I'll create a new release.

@@ -471,7 +471,7 @@ def distance(self, other: TimeDate) -> timedelta:
return self.distance(other.to_spanset())
elif isinstance(other, DateSpan):
return timedelta(
days=distance_datespanset_datespan(self._inner, other._inner)
days=distance_datespan_datespan(self._inner, other._inner)
Copy link
Member

Choose a reason for hiding this comment

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

Black linter is failing, please review

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