Skip to content

Commit 3a652ff

Browse files
committed
update docs for FileAttrib and DirAttrib Events
1 parent e2d8db0 commit 3a652ff

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/watchdog/events.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@
6868
:members:
6969
:show-inheritance:
7070
71+
.. autoclass:: FileAttribEvent
72+
:members:
73+
:show-inheritance:
74+
75+
.. autoclass:: FileAttribEvent
76+
:members:
77+
:show-inheritance:
78+
79+
7180
7281
Event Handler Classes
7382
---------------------
@@ -203,6 +212,9 @@ class FileDeletedEvent(FileSystemEvent):
203212

204213

205214
class FileAttribEvent(FileSystemEvent):
215+
"""
216+
File system event representing file metadata modification on the file system.
217+
"""
206218
event_type = EVENT_TYPE_ATTRIB
207219

208220

@@ -261,6 +273,9 @@ class DirMovedEvent(FileSystemMovedEvent):
261273

262274

263275
class DirAttribEvent(FileSystemEvent):
276+
"""
277+
File system event representing directory metadata modification on the file system.
278+
"""
264279
event_type = EVENT_TYPE_ATTRIB
265280
is_directory = True
266281

0 commit comments

Comments
 (0)