Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Merge requests
!327
Refactor update creation api
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Refactor update creation api
refactor_update_creation_api
into
master
Overview
7
Commits
97
Pipelines
6
Changes
1
All threads resolved!
Hide all comments
Merged
Samuel GAIST
requested to merge
refactor_update_creation_api
into
master
4 years ago
Overview
7
Commits
97
Pipelines
6
Changes
1
All threads resolved!
Hide all comments
Expand
This merge request does the following:
Raise DRF errors rather than returning response to take advantage of the DRF exception handling mechanism
Create serialisers for PUT request to simplify the code
Improve validation checks in several places
Fixes several issues in DRF infrastructure uses
Fixes JSON fields handling
Remove routes that do no fully qualify objects
Implement a custom DRF exception handler that will allow to log errors
Improve testing
Improve permission management
Edited
4 years ago
by
Samuel GAIST
0
0
Merge request reports
Viewing commit
1e049158
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1e049158
[experiments][serializers] Set beat_core_class correctly
· 1e049158
Samuel GAIST
authored
4 years ago
beat/web/experiments/serializers.py
+
1
−
1
Options
@@ -59,7 +59,7 @@ class ExperimentCreationSerializer(serializers.ModelSerializer):
class
Meta
:
model
=
Experiment
beat_core_class
=
beat
.
core
.
experiment
beat_core_class
=
beat
.
core
.
experiment
.
Experiment
fields
=
[
"
name
"
,
"
short_description
"
,
Loading