Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Jul 12, 2024
1 parent d29e8fa commit 4758418
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion brewtils/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@
# Global config, used to simplify BG client creation and sanity checks.
CONFIG = Box(default_box=True)


def get_current_request_read_only():
""" Read-Only instance of Current Request
"""Read-Only instance of Current Request
Returns a copy of the current request, modifications to this object
does not impact the actual current request
"""
return copy.deepcopy(request_context.current_request)


class Plugin(object):
"""A Beer-garden Plugin
Expand Down

0 comments on commit 4758418

Please sign in to comment.