# Datasource.source\_workflow

### Datasource.<mark style="color:purple;">source\_workflow</mark>() → [Workflow](https://docs.redivis.com/api/client-libraries/redivis-python/reference/workflow) | None

Returns the datasource's source workflow. If the datasource instead has a source dataset, this method will return `None`.

### **Returns**

[**Workflow**](https://docs.redivis.com/api/client-libraries/redivis-python/reference/workflow) **| None**
