Spaces:
Running
Running
Download app/Http/Requests/Screen/TargetLookupRequest.php from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/774ffc6b8baed9dab19ca9948728d09b4e0e0192/app/Http/Requests/Screen/TargetLookupRequest.php
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api@774ffc6b8baed9dab19ca9948728d09b4e0e0192/app/Http/Requests/Screen/TargetLookupRequest.php
-
curl -L -o TargetLookupRequest.php https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/774ffc6b8baed9dab19ca9948728d09b4e0e0192/app/Http/Requests/Screen/TargetLookupRequest.php
427 Bytes
| namespace App\Http\Requests\Screen; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| class TargetLookupRequest extends FormRequest | |
| { | |
| public function authorize(): bool | |
| { | |
| return true; | |
| } | |
| public function rules(): array | |
| { | |
| return [ | |
| 'disease_name' => ['required', 'string', 'max:255'], | |
| 'top_n' => ['sometimes', 'integer', 'min:1', 'max:100'], | |
| ]; | |
| } | |
| } | |