Skip to content

Commit 7ba5082

Browse files
committed
handwritten: Fix D101 Missing docstring in public class
1 parent 48f4374 commit 7ba5082

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/handwritten/errors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def error_type(self):
146146

147147

148148
class DaqResourceWarning(ResourceWarning):
149+
"""Warning about DAQ resource usage, such as a leaking an NI-DAQmx task."""
150+
149151
pass
150152

151153

src/handwritten/grpc_session_options.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020

2121
class SessionInitializationBehavior(IntEnum):
22+
"""Specifies how to initialize sessions on the server."""
23+
2224
AUTO = 0
2325
r"""
2426
The NI gRPC Device Server will attach to an existing session with the specified name if it exists, otherwise the server

0 commit comments

Comments
 (0)