# Overview Implement the `getAccessCondition` function in the Python SDK to get the access condition for the given `cid` # Function Signature ``` const getAccessCondition = async (cid: string): Promise<{ data: IGetAccessCondition }> ``` # Response Format ``` {'data':<conditions>} ``` # Reference * [encryption-sdk/src/methods/getAccessCondition/index.ts at main · lighthouse-web3/encryption-sdk](https://github.com/lighthouse-web3/encryption-sdk/blob/main/src/methods/getAccessCondition/index.ts) * [encryption-sdk/src/methods/getAccessCondition/test/getAccessCondition.test.ts at main · lighthouse-web3/encryption-sdk](https://github.com/lighthouse-web3/encryption-sdk/blob/main/src/methods/getAccessCondition/test/getAccessCondition.test.ts)