Skip to content

Commit c2f0790

Browse files
grpc: avoid a mypy warning
Suddenly, completely out of the blue as far as I'm concerned, mypy started alerting on this import. Silence the silliness. Signed-off-by: John Mulligan <[email protected]>
1 parent 4d6310f commit c2f0790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sambacc/grpc/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _samba_version(self) -> str:
134134

135135
def _sambacc_version(self) -> str:
136136
try:
137-
import sambacc._version
137+
import sambacc._version # type: ignore
138138

139139
return sambacc._version.version
140140
except ImportError:

0 commit comments

Comments
 (0)