Skip to content

Commit c0e6400

Browse files
Fixed PR comments by copilot
1 parent 5734a1f commit c0e6400

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

contentstack/entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def variants(self, variant_uid: str | list[str], params: dict = None):
236236
entry_uid=self.entry_uid,
237237
variant_uid=variant_uid,
238238
params=params,
239-
logger=None
239+
logger=self.logger
240240
)
241241

242242

contentstack/variants.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import logging
22
from urllib import parse
33

4-
from contentstack.deep_merge_lp import DeepMergeMixin
54
from contentstack.entryqueryable import EntryQueryable
65

7-
class Variants(EntryQueryable, ):
6+
class Variants(EntryQueryable):
87
"""
98
An entry is the actual piece of content that you want to publish.
109
Entries can be created for one of the available content types.
@@ -57,7 +56,7 @@ def find(self, params=None):
5756

5857
def fetch(self, params=None):
5958
"""
60-
This method is useful to fetch variant entries of a paticular content type and entries of the of the stack.
59+
This method is useful to fetch variant entries of a particular content type and entries of the of the stack.
6160
:return:dict -- contentType response
6261
------------------------------
6362
Example:

0 commit comments

Comments
 (0)