code: def get_subnets(self, vlan):
          
          return vlan._origin.Subnets([
              subnet
              for subnet in self.subnets
              if subnet.vlan.id == vlan.id
          ])
docs: Return the subnets for the `vlan`.