@@ -546,22 +546,22 @@ def cart_remove(
546
546
547
547
def additional_add_or_update_article (
548
548
self ,
549
- skel : SkeletonInstance_T [CartNodeSkel ],
549
+ skel : SkeletonInstance_T [CartItemSkel ],
550
550
/ ,
551
551
** kwargs ,
552
- ) -> SkeletonInstance_T [CartNodeSkel ]:
552
+ ) -> SkeletonInstance_T [CartItemSkel ]:
553
553
"""
554
554
Hook method called by :meth:`add_or_update_article` before the skeleton is saved.
555
555
556
556
This method can be overridden in a subclass to implement additional API fields or
557
557
make further modifications to the cart skeleton (`skel`).
558
558
By default, it raises an exception if unexpected arguments
559
- (``kwargs``) are provided and returns the unchanged `skel`` object.
559
+ (``kwargs``) are provided and returns the unchanged `skel` object.
560
560
561
- :param skel: The current instance of the cart skeleton.
561
+ :param skel: The current instance of the cart item skeleton.
562
562
:param kwargs: Additional optional arguments for extended implementations.
563
563
:raises TooManyArgumentsException: If unexpected arguments are passed in ``kwargs``.
564
- :return: The (potentially modified) cart skeleton.
564
+ :return: The (potentially modified) cart item skeleton.
565
565
"""
566
566
if kwargs :
567
567
raise e .TooManyArgumentsException (f"{ self } .add_or_update_article" , * kwargs .keys ())
@@ -579,7 +579,7 @@ def additional_cart_add(
579
579
This method can be overridden in a subclass to implement additional API fields or
580
580
make further modifications to the cart skeleton (`skel`).
581
581
By default, it raises an exception if unexpected arguments
582
- (``kwargs``) are provided and returns the unchanged `skel`` object.
582
+ (``kwargs``) are provided and returns the unchanged `skel` object.
583
583
584
584
:param skel: The current instance of the cart skeleton.
585
585
:param kwargs: Additional optional arguments for extended implementations.
@@ -602,7 +602,7 @@ def additional_cart_update(
602
602
This method can be overridden in a subclass to implement additional API fields or
603
603
make further modifications to the cart skeleton (`skel`).
604
604
By default, it raises an exception if unexpected arguments
605
- (``kwargs``) are provided and returns the unchanged `skel`` object.
605
+ (``kwargs``) are provided and returns the unchanged `skel` object.
606
606
607
607
:param skel: The current instance of the cart skeleton.
608
608
:param kwargs: Additional optional arguments for extended implementations.
0 commit comments