def post_event(self, marker_text: int):
        """ 
            posts the new time to azure file share file, 
            from which it will poll next time
        """
        logger.info(str(marker_text) + " event number stored now")
        try:
            self.file_event_cli.upload_file(str(marker_text))
        except ResourceNotFoundError:
            self.share_cli.create_share()
            self.file_event_cli.upload_file(str(marker_text))
 
            posts the new time to azure file share file, 
            from which it will poll next time
        
Solutions/Digital Shadows/Data Connectors/Digital Shadows/DigitalShadowsConnectorAzureFunction/state_serializer.py