vfclcm upgrade from python2 to python3
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / serializers / vnf_instances.py
1 # you may not use this file except in compliance with the License.
2 # You may obtain a copy of the License at
3 #
4 #         http://www.apache.org/licenses/LICENSE-2.0
5 #
6 # Unless required by applicable law or agreed to in writing, software
7 # distributed under the License is distributed on an "AS IS" BASIS,
8 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 # See the License for the specific language governing permissions and
10 # limitations under the License.
11
12 from rest_framework import serializers
13 from .vnf_instance import VnfInstanceSerializer
14
15
16 class VnfInstancesSerializer(serializers.ListSerializer):
17     child = VnfInstanceSerializer()