driver/compute_server_client.py
def post_db_level_observation(self, data: DBLevelObservation) -> None:
        """Post the observation to the server.

        Args:
            data: Collected data from the target database.
        Raises:
            ComputeServerClientException: Failed to post the observation.
        """
        headers = self._generate_headers(data["organization_id"])
        url = f"{self._server_url}/observation/"
        try:
            response = self._req_session.post(
                url, json=data, headers=headers, timeout=10
            )
            response.raise_for_status()
        except Exception as ex:
            msg = "Failed to post the observation to the server"
            raise ComputeServerClientException(msg, ex) from ex
Post the observation to the server.

        Args:
            data: Collected data from the target database.
        Raises:
            ComputeServerClientException: Failed to post the observation.
        
Post the observation to the server.
Post the observation to the server .
def post_db_level_observation(self, data: DBLevelObservation) -> None:
        headers = self._generate_headers(data["organization_id"])
        url = f"{self._server_url}/observation/"
        try:
            response = self._req_session.post(
                url, json=data, headers=headers, timeout=10
            )
            response.raise_for_status()
        except Exception as ex:
            msg = "Failed to post the observation to the server"
            raise ComputeServerClientException(msg, ex) from ex
def post_db_level_observation ( self , data : DBLevelObservation ) -> None : headers = self . _generate_headers ( data [ "organization_id" ] ) url = f"{self._server_url}/observation/" try : response = self . _req_session . post ( url , json = data , headers = headers , timeout = 10 ) response . raise_for_status ( ) except Exception as ex : msg = "Failed to post the observation to the server" raise ComputeServerClientException ( msg , ex ) from ex
Post the observation to the server.
Post the observation to the server .
"""Post the observation to the server.

        Args:
            data: Collected data from the target database.
        Raises:
            ComputeServerClientException: Failed to post the observation.
        """
Failed to post the observation.
Failed to post the observation .
ComputeServerClientException
self
data
DBLevelObservation
Collected data from the target database.
Collected data from the target database .