Skip to content

Commit d1a4459

Browse files
committed
Update CPYINT
Fix sphinx warnings
1 parent 6a6111d commit d1a4459

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

cpyint

lib/mysqlx/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def list(self):
270270
"""A list of all Session configuration stored on the system.
271271
272272
Returns:
273-
list: List of :class`mysqlx.SessionConfig` objects.
273+
`list`: List of :class`mysqlx.SessionConfig` objects.
274274
"""
275275
if not self.persistence_handler:
276276
raise OperationalError("Persistence Handler not defined.")
@@ -337,7 +337,7 @@ def items(self):
337337
data.
338338
339339
Returns:
340-
list: List of tuples of session name and session
340+
`list`: List of tuples of session name and session
341341
configuration data.
342342
"""
343343
return self._configs.items()
@@ -390,7 +390,7 @@ def list(self):
390390
"""Returns a list of all existing session configuration data.
391391
392392
Returns:
393-
list: List of dicts containing all session configuration data.
393+
`list`: List of dicts containing all session configuration data.
394394
"""
395395
return self._configs.values()
396396

lib/mysqlx/crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def get_collections(self):
134134
"""Returns a list of collections for this schema.
135135
136136
Returns:
137-
list: List of Collection objects.
137+
`list`: List of Collection objects.
138138
"""
139139
rows = self._connection.get_row_result("list_objects", self._name)
140140
rows.fetch_all()
@@ -162,7 +162,7 @@ def get_tables(self):
162162
"""Returns a list of tables for this schema.
163163
164164
Returns:
165-
list: List of Table objects.
165+
`list`: List of Table objects.
166166
"""
167167
rows = self._connection.get_row_result("list_objects", self._name)
168168
rows.fetch_all()

lib/mysqlx/result.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ class Row(object):
591591
592592
Args:
593593
rs (mysqlx.Result): The Result set.
594-
fields (list): The list of fields.
594+
fields (`list`): The list of fields.
595595
"""
596596
def __init__(self, rs, fields):
597597
self._fields = fields
@@ -641,7 +641,7 @@ def get_warnings(self):
641641
"""Returns the warnings.
642642
643643
Returns:
644-
list: The list of warnings.
644+
`list`: The list of warnings.
645645
"""
646646
return self._warnings
647647

@@ -660,7 +660,7 @@ class Result(BaseResult):
660660
661661
Args:
662662
connection (mysqlx.connection.Connection): The Connection object.
663-
ids (list): A list of IDs.
663+
ids (`list`): A list of IDs.
664664
"""
665665
def __init__(self, connection=None, ids=None):
666666
super(Result, self).__init__(connection)
@@ -774,7 +774,7 @@ def fetch_all(self):
774774
"""Fetch all items.
775775
776776
Returns:
777-
list: The list of items.
777+
`list`: The list of items.
778778
"""
779779
while True:
780780
if not self._page_in_items():
@@ -793,7 +793,7 @@ def __init__(self, connection):
793793

794794
@property
795795
def columns(self):
796-
"""list: The list of columns.
796+
"""`list`: The list of columns.
797797
"""
798798
return self._columns
799799

lib/mysqlx/statement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ def columns(self, columns):
824824
"""Sets the column names.
825825
826826
Args:
827-
columns (list): The list of column names.
827+
columns (`list`): The list of column names.
828828
829829
Returns:
830830
mysqlx.CreateViewStatement: CreateViewStatement object.

0 commit comments

Comments
 (0)