Taragolis commented on code in PR #34766:
URL: https://github.com/apache/airflow/pull/34766#discussion_r1349516480


##########
airflow/providers/microsoft/psrp/provider.yaml:
##########
@@ -57,3 +57,7 @@ hooks:
   - integration-name: Windows PowerShell Remoting Protocol
     python-modules:
       - airflow.providers.microsoft.psrp.hooks.psrp
+
+connection-types:
+  - hook-class-name: airflow.providers.microsoft.psrp.hooks.PsrpHook

Review Comment:
   Wrong path to hook
   
   ```suggestion
     - hook-class-name: airflow.providers.microsoft.psrp.hooks.psrp.PsrpHook
   ```



##########
airflow/providers/microsoft/psrp/hooks/psrp.py:
##########
@@ -75,6 +75,11 @@ class PsrpHook(BaseHook):
     or by setting this key as the extra fields of your connection.
     """
 
+    conn_name_attr = "psrp_conn_id"
+    default_conn_name = "psrp_default"
+    conn_type = "psrp"
+    hook_name = "PSRP"

Review Comment:
   ```suggestion
       hook_name = "PowerShell Remoting Protocol"
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to