Commit 782e4e8 1 parent 58936f5 commit 782e4e8 Copy full SHA for 782e4e8
File tree 1 file changed +10
-10
lines changed
instrumentation/opentelemetry-instrumentation-aiohttp-server/tests
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ class HTTPMethod(Enum):
19
19
"""HTTP methods and descriptions"""
20
20
21
21
def __repr__ (self ):
22
- return self .value [ 0 ]
22
+ return f" { self .value } "
23
23
24
- CONNECT = 'CONNECT' , 'Establish a connection to the server.'
25
- DELETE = 'DELETE' , 'Remove the target.'
26
- GET = 'GET' , 'Retrieve the target.'
27
- HEAD = 'HEAD' , 'Same as GET, but only retrieve the status line and header section.'
28
- OPTIONS = 'OPTIONS' , 'Describe the communication options for the target.'
29
- PATCH = 'PATCH' , 'Apply partial modifications to a target.'
30
- POST = 'POST' , 'Perform target-specific processing with the request payload.'
31
- PUT = 'PUT' , 'Replace the target with the request payload.'
32
- TRACE = 'TRACE' , 'Perform a message loop-back test along the path to the target.'
24
+ CONNECT = 'CONNECT'
25
+ DELETE = 'DELETE'
26
+ GET = 'GET'
27
+ HEAD = 'HEAD'
28
+ OPTIONS = 'OPTIONS'
29
+ PATCH = 'PATCH'
30
+ POST = 'POST'
31
+ PUT = 'PUT'
32
+ TRACE = 'TRACE'
You can’t perform that action at this time.
0 commit comments