Skip to content

Update docker, add methods to load from dictionary, get tree traversa… - #174

Merged
Kircheneer merged 6 commits into
networktocode:developfrom
itdependsnetworks:new_meth
Nov 2, 2022
Merged

Update docker, add methods to load from dictionary, get tree traversa…#174
Kircheneer merged 6 commits into
networktocode:developfrom
itdependsnetworks:new_meth

Conversation

@itdependsnetworks

@itdependsnetworksitdependsnetworks commented Oct 30, 2022

Copy link
Copy Markdown
Contributor

…l, and update docs

  • Update docker since it was failing with my build (needed gcc)
  • Updated poetry to accommodate other built issues with redislite
  • Added method to load from dictionary
  • Added method to show the traversal of tree, and docs to go with
  • Added method to get one or none

@itdependsnetworks

Copy link
Copy Markdown
ContributorAuthor

Note that mypy does not support recursive typing for now, hence the usage of Any.

Comment threaddiffsync/__init__.py Outdated
Comment threaddiffsync/__init__.py Outdated
Comment threaddiffsync/__init__.py Outdated
Comment threaddiffsync/__init__.py Outdated
Comment threaddiffsync/utils.py Outdated
Comment threaddiffsync/utils.py Outdated
Comment threaddocs/source/getting_started/01-getting-started.md Outdated
Comment threaddiffsync/__init__.py Outdated
Comment threadtests/unit/test_diffsync.py Outdated
Comment threadtests/unit/test_diffsync.py
Comment threaddiffsync/__init__.py Outdated
Comment threaddiffsync/utils.py Outdated
Comment threaddiffsync/utils.py Outdated
Comment threaddiffsync/utils.py Outdated

@KircheneerKircheneer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great stuff! I have a couple type hinting nitpicks but apart from that I like it.

@Kircheneer

Copy link
Copy Markdown
Contributor

Note that mypy does not support recursive typing for now, hence the usage of Any.

I wasn't able to spot usage of typing.Any anywhere except in a function docstring (where the type was not equivalent to that in the signature). I say we just drop new type hints from docstrings (including the ones from this PR) and I make sure I remove all existing ones with #175 ?

@KircheneerKircheneer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Kircheneer
Kircheneer merged commit 6f022dd into networktocode:developNov 2, 2022
@chadellchadell mentioned this pull request Nov 7, 2022
Kircheneer pushed a commit that referenced this pull request Nov 8, 2022
#174)
* Update docker, add methods to load from dictionary, get tree traversal, and update docs
* Apply suggestions from code review
Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
* Additional recommended updates for loop efficiency and using classmethod
* update docs
* mypy feedback
* lock poetry
Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
Sign up for freeto 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.

3 participants

@itdependsnetworks@Kircheneer@glennmatthews