Skip to content

Commit 766b121

Browse files
giogranobentsku
authored andcommitted
naming
1 parent b7fe783 commit 766b121

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/py_avro_schema/_schemas.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def __init__(
268268
:param py_type: The Python class to generate a schema for.
269269
:param namespace: The Avro namespace to add to schemas.
270270
:param options: Schema generation options.
271-
:param processing: Internal parameter to track types currently being processed (for circular dependencies).
271+
:param processing: Internal parameter to track types currently being processed (for circular references).
272272
"""
273273
self.py_type = py_type
274274
self.options = options
@@ -800,7 +800,7 @@ def __init__(
800800
:param py_type: The Python class to generate a schema for.
801801
:param namespace: The Avro namespace to add to schemas.
802802
:param options: Schema generation options.
803-
:param processing: Internal parameter to track types currently being processed (for circular dependencies).
803+
:param processing: Internal parameter to track types currently being processed (for circular references).
804804
"""
805805
super().__init__(py_type, namespace=namespace, options=options, processing=processing)
806806
py_type = _type_from_annotated(py_type)
@@ -1049,11 +1049,11 @@ def __init__(
10491049
:param py_type: The Python class to generate a schema for.
10501050
:param namespace: The Avro namespace to add to schemas.
10511051
:param options: Schema generation options.
1052-
:param processing: Internal parameter to track types currently being processed (for circular dependencies).
1052+
:param processing: Internal parameter to track types currently being processed (for circular references).
10531053
"""
10541054
super().__init__(py_type, namespace=namespace, options=options, processing=processing)
10551055
self.processing = processing or set()
1056-
# Add this type to the processing set to detect circular dependencies
1056+
# Add this type to the processing set to detect circular references
10571057
self.processing.add(py_type)
10581058
self.record_fields: collections.abc.Sequence[RecordField] = []
10591059

tests/test_plain_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class Backend:
190190
py_type: PyType
191191

192192

193-
def test_circular_dependencies():
193+
def test_circular_references():
194194
expected = {
195195
"fields": [
196196
{

0 commit comments

Comments
 (0)