Skip to content

Commit a356f2a

Browse files
authored
Fixed style check (confluentinc#1829)
1 parent c83d3da commit a356f2a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/confluent_kafka/schema_registry/schema_registry_client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ def remove_by_subject(self, subject_name):
222222
Args:
223223
subject_name (str): Subject name the schema is registered under.
224224
"""
225-
226-
225+
227226
with self.lock:
228227
if subject_name in self.subject_schemas:
229228
for schema in self.subject_schemas[subject_name]:
@@ -234,7 +233,6 @@ def remove_by_subject(self, subject_name):
234233

235234
del self.subject_schemas[subject_name]
236235

237-
238236
def get_schema(self, schema_id):
239237
"""
240238
Get the schema instance associated with schema_id from the cache.
@@ -566,9 +564,9 @@ def delete_subject(self, subject_name, permanent=False):
566564
if permanent:
567565
self._rest_client.delete('subjects/{}?permanent=true'
568566
.format(_urlencode(subject_name)))
569-
567+
570568
self._cache.remove_by_subject(subject_name)
571-
569+
572570
return list
573571

574572
def get_latest_version(self, subject_name):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy