Spaces:
Running
Running
Download app/Http/Requests/Ai/ExportLigandsRequest.php from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/main/app/Http/Requests/Ai/ExportLigandsRequest.php
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api/app/Http/Requests/Ai/ExportLigandsRequest.php
-
curl -L -o ExportLigandsRequest.php https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/main/app/Http/Requests/Ai/ExportLigandsRequest.php
482 Bytes
| namespace App\Http\Requests\Ai; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| class ExportLigandsRequest extends FormRequest | |
| { | |
| /** | |
| * Determine if the user is authorized to make this request. | |
| * | |
| * @return bool | |
| */ | |
| public function authorize() | |
| { | |
| return true; | |
| } | |
| public function rules() | |
| { | |
| return [ | |
| 'smiles' => 'required|string', | |
| 'format' => 'required|string|in:pdbqt,pdb,mol2', | |
| ]; | |
| } | |
| } | |