Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
coolamqp
Commits
61351b19
Commit
61351b19
authored
5 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
fix pydoc
parent
a9b94572
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
coolamqp/framing/base.py
+4
-4
4 additions, 4 deletions
coolamqp/framing/base.py
with
4 additions
and
4 deletions
coolamqp/framing/base.py
+
4
−
4
View file @
61351b19
...
...
@@ -165,12 +165,12 @@ class AMQPMethodPayload(AMQPPayload):
raise
RuntimeError
(
'
Should never be executed!
'
)
def
write_arguments
(
self
,
buf
):
# type: (tp.BinaryIO) -> None
def
write_arguments
(
self
,
buf
):
"""
Write the argument portion of this frame into buffer.
Write the argument portion of this frame into
target
buffer.
:param buf: buffer to write to
:
return: how many bytes written
:
type buf: tp.BinaryIO
:raise ValueError: some field here is invalid!
"""
raise
NotImplementedError
()
...
...
@@ -184,7 +184,7 @@ class AMQPMethodPayload(AMQPPayload):
:type buf: buffer or memoryview
:param offset: offset the argument portion begins at
:type offset: int
:return:
tuple of (
an instance of this class
, amount of bytes consumed as int)
:return: an instance of this class
:raise ValueError: invalid data
"""
raise
NotImplementedError
(
''
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment