def get_asset_url(self, static_url):
<EOL>if not static_url.startswith('<STR_LIT>'):<EOL><INDENT>return static_url<EOL><DEDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>file_name = os.path.split(static_url)[-<NUM_LIT:1>]<EOL>return self.get_base_url_path_for_course_assets(self.course_id) + file_name<EOL><DEDENT>else:<EOL><INDENT>return static_url<EOL><DEDENT>
Returns the asset url for imported files (eg. images) that are uploaded in Files & Uploads

Args:
    static_url(str): The static url for the file

Returns:
    str: The URL for the file