Skip to content

Commit ab721c0

Browse files
Copilotmtauraso
andauthored
Convert trace.py example to code-block directive; remove unused notebooks.rst
Agent-Logs-Url: https://github.com/lincc-frameworks/hyrax/sessions/6c2ab514-0ac7-4574-9a6c-790bfd6c07e7 Co-authored-by: mtauraso <31012+mtauraso@users.noreply.github.com>
1 parent 1d73635 commit ab721c0

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

docs/notebooks.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/hyrax/trace.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ class TraceContext:
9090
the shimming contained to the runtime of a single verb in a long-running notebook.
9191
9292
Therefore verbs using data tracing should use the @trace_verb_data decorator or
93-
implement the pattern below::
93+
implement the pattern below:
94+
95+
.. code-block:: python
9496
9597
with TraceContext(trace, self.config) as modified_config:
9698
self.config = modified_config

0 commit comments

Comments
 (0)