Foundry DevOps / Marketplace Source injection in Python Functions

I would like to use a webhook source / REST API in Python functions and package the result in DevOps so that in the PROD environment, a different source is used.

The code from the documentation looks something like this:

@function(sources=[“SourceApiName”])

def get_external_role_members(group_id: str) → list[str]:

dbtadminapidev = get_source("SourceApiName")
...

My question is: Does the string literal “SourceApiName” get replaced when configuring a different Rest source in Marketplace for the deployment?