# Workflow\.list\_datasources

### Workflow.<mark style="color:purple;">list\_datasources</mark>(*max\_results=None*) → list<[Datasource](https://docs.redivis.com/api/client-libraries/redivis-python/reference/datasource)>

Returns a list of datasources within the workflow.

### **Parameters:**

**`max_results` :&#x20;*****int, default None***\
If specified, will only return up to max\_results datasources

### **Returns:**&#x20;

**list<**[**Datasource**](https://docs.redivis.com/api/client-libraries/redivis-python/reference/datasource)**>**

### **Examples:**

```python
workflow = redivis.user("imathews").workflow("example_workflow_climate_analysis")
datasources = workflow.list_datasources()

for datasource in datasources:
    print(datasource.properties) # Properties will be populated with the datasource.list resource representation
```
