Option C Tools
Loading...
Searching...
No Matches
decorated_func.py
Go to the documentation of this file.
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3# oct/tests/tests_linter/fixtures/decorated_func.py
4
5"""
6Purpose
7-------
8Fixture demonstrating correct func = "..." pattern with decorated functions.
9
10Responsibilities
11----------------
12- Provide a compliant example with @decorator before def.
13
14Diagnostics
15-----------
16Domain: TEST
17L2: lifecycle events
18L3: semantic details
19L4: deep tracing
20
21Contracts
22---------
23Inputs: none
24Outputs: none
25"""
26
27from oc_diagnostics import _dbg
28
29
31 return fn
32
33
34@my_decorator
36 func = "decorated_handler"
37 _dbg("L3", "Handling request", domain="TEST", func=func)
38 return True