This commit is contained in:
		@@ -1,4 +1,6 @@
 | 
			
		||||
#!/usr/bin/env python3
 | 
			
		||||
from flask_marshmallow.sqla import auto_field
 | 
			
		||||
 | 
			
		||||
from models import SampleMetadata
 | 
			
		||||
from marshm import ma
 | 
			
		||||
from marshmallow import fields
 | 
			
		||||
@@ -32,4 +34,5 @@ class SampleMetadataSchema(ma.SQLAlchemyAutoSchema):
 | 
			
		||||
    """
 | 
			
		||||
    class Meta:
 | 
			
		||||
        model = SampleMetadata
 | 
			
		||||
        exclude = ('timestamp', 'id',)
 | 
			
		||||
        exclude = ('timestamp', 'id', 'device_date',)
 | 
			
		||||
    date = auto_field("device_date", dump_only=False)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user