3535)
3636from ansys .geometry .core .connection .product_instance import prepare_and_start_backend
3737from ansys .geometry .core .logger import LOG
38- from ansys .geometry .core .misc .checks import check_type , deprecated_argument
38+ from ansys .geometry .core .misc .checks import check_type
3939
4040try :
4141 import ansys .platform .instancemanagement as pypim
@@ -492,12 +492,6 @@ def launch_modeler_with_spaceclaim_and_pimlight(
492492 )
493493
494494
495- @deprecated_argument (
496- arg = "log_level" , alternative = "server_log_level" , version = "0.6.2" , remove = "0.10.0"
497- )
498- @deprecated_argument (
499- arg = "logs_folder" , alternative = "server_logs_folder" , version = "0.6.2" , remove = "0.10.0"
500- )
501495def launch_modeler_with_geometry_service (
502496 product_version : int = None ,
503497 host : str = "localhost" ,
@@ -508,8 +502,6 @@ def launch_modeler_with_geometry_service(
508502 client_log_level : int = logging .INFO ,
509503 server_logs_folder : str = None ,
510504 client_log_file : str = None ,
511- log_level : int = None , # DEPRECATED
512- logs_folder : str = None , # DEPRECATED
513505 ** kwargs : dict | None ,
514506) -> "Modeler" :
515507 """Start the Geometry service locally using the ``ProductInstance`` class.
@@ -559,10 +551,6 @@ def launch_modeler_with_geometry_service(
559551 client_log_file : str, optional
560552 Sets the client's log file path. If nothing is defined,
561553 the client will log to the console.
562- log_level : int, optional
563- DEPRECATED. Use ``server_log_level`` instead.
564- logs_folder : str, optional
565- DEPRECATED. Use ``server_logs_folder`` instead.
566554 **kwargs : dict, default: None
567555 Placeholder to prevent errors when passing additional arguments that
568556 are not compatible with this method.
@@ -625,14 +613,9 @@ def launch_modeler_with_geometry_service(
625613 client_log_level = client_log_level ,
626614 server_logs_folder = server_logs_folder ,
627615 client_log_file = client_log_file ,
628- log_level = log_level ,
629- logs_folder = logs_folder ,
630616 )
631617
632618
633- @deprecated_argument (
634- arg = "log_level" , alternative = "server_log_level" , version = "0.6.2" , remove = "0.10.0"
635- )
636619def launch_modeler_with_discovery (
637620 product_version : int = None ,
638621 host : str = "localhost" ,
@@ -644,7 +627,6 @@ def launch_modeler_with_discovery(
644627 server_log_level : int = 2 ,
645628 client_log_level : int = logging .INFO ,
646629 client_log_file : str = None ,
647- log_level : int = None , # DEPRECATED
648630 ** kwargs : dict | None ,
649631):
650632 """Start Ansys Discovery locally using the ``ProductInstance`` class.
@@ -696,8 +678,6 @@ def launch_modeler_with_discovery(
696678 client_log_file : str, optional
697679 Sets the client's log file path. If nothing is defined,
698680 the client will log to the console.
699- log_level : int, optional
700- DEPRECATED. Use ``server_log_level`` instead.
701681 **kwargs : dict, default: None
702682 Placeholder to prevent errors when passing additional arguments that
703683 are not compatible with this method.
@@ -755,13 +735,9 @@ def launch_modeler_with_discovery(
755735 server_log_level = server_log_level ,
756736 client_log_level = client_log_level ,
757737 client_log_file = client_log_file ,
758- log_level = log_level ,
759738 )
760739
761740
762- @deprecated_argument (
763- arg = "log_level" , alternative = "server_log_level" , version = "0.6.2" , remove = "0.10.0"
764- )
765741def launch_modeler_with_spaceclaim (
766742 product_version : int = None ,
767743 host : str = "localhost" ,
@@ -773,7 +749,6 @@ def launch_modeler_with_spaceclaim(
773749 server_log_level : int = 2 ,
774750 client_log_level : int = logging .INFO ,
775751 client_log_file : str = None ,
776- log_level : int = None , # DEPRECATED
777752 ** kwargs : dict | None ,
778753):
779754 """Start Ansys SpaceClaim locally using the ``ProductInstance`` class.
@@ -825,8 +800,6 @@ def launch_modeler_with_spaceclaim(
825800 client_log_file : str, optional
826801 Sets the client's log file path. If nothing is defined,
827802 the client will log to the console.
828- log_level : int, optional
829- DEPRECATED. Use ``server_log_level`` instead.
830803 **kwargs : dict, default: None
831804 Placeholder to prevent errors when passing additional arguments that
832805 are not compatible with this method.
@@ -884,7 +857,6 @@ def launch_modeler_with_spaceclaim(
884857 server_log_level = server_log_level ,
885858 client_log_level = client_log_level ,
886859 client_log_file = client_log_file ,
887- log_level = log_level ,
888860 )
889861
890862
0 commit comments