Skip to content

Commit 8169973

Browse files
committed
add documentation
1 parent abf07de commit 8169973

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

social_posters/mastodon.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ def _post_thread(
151151

152152
return status
153153

154+
"""
155+
Implement your own pipeline and consume it in a preview file
156+
for debugging purposes
157+
Here, we build a pipeline from AdoptablePet (upstream input)
158+
-> Post -> Prepared Caption -> Caption Thread
159+
"""
154160
def build_formatting_pipeline(
155161
self,
156162
pet: AdoptablePet,
@@ -177,6 +183,10 @@ def build_formatting_pipeline(
177183

178184
return pipeline
179185

186+
"""
187+
Pipeline for publishing a post where trace thrown away when actually publishing
188+
189+
"""
180190
def _format_caption_thread_with_trace(
181191
self,
182192
post: Post,

0 commit comments

Comments
 (0)