Skip to content

Commit

Permalink
spotless fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baifuyu committed Dec 11, 2023
1 parent 2fca780 commit 1cde574
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 97 deletions.
5 changes: 2 additions & 3 deletions builder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
~ or implied.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand All @@ -39,8 +39,7 @@
<module>model</module>
</modules>

<properties>
</properties>
<properties/>

<dependencyManagement>
<dependencies>
Expand Down
8 changes: 3 additions & 5 deletions cloudext/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
~ or implied.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand Down Expand Up @@ -45,11 +45,9 @@
<module>impl/search-engine/elasticsearch</module>
</modules>

<properties>
</properties>
<properties/>

<dependencyManagement>
<dependencies>
</dependencies>
<dependencies/>
</dependencyManagement>
</project>
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
~ or implied.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.antgroup.openspg</groupId>
Expand Down Expand Up @@ -407,8 +407,7 @@
<version>3.1.2</version>
<configuration>
<argLine>@{argLine} -Xmx1024m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m
-Dfile.encoding=UTF-8
</argLine>
-Dfile.encoding=UTF-8</argLine>
<includes>
<include>**/*Test.groovy</include>
<include>**/Test*.groovy</include>
Expand Down
183 changes: 97 additions & 86 deletions python/knext/examples/riskmining/schema/riskmining_schema_helper.py
Original file line number Diff line number Diff line change
@@ -1,92 +1,103 @@
# Copyright 2023 Ant Group CO., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied.

# ATTENTION!
# This file is generated by Schema automatically, it will be refreshed after schema has been committed
# PLEASE DO NOT MODIFY THIS FILE!!!
#

class RiskMining:
def __init__(self):
self.App = self.App()
self.Cert = self.Cert()
self.Company = self.Company()
self.Device = self.Device()
self.Person = self.Person()
self.TaxOfRiskApp = self.TaxOfRiskApp()
self.TaxOfRiskUser = self.TaxOfRiskUser()

class App:
__typename__ = "RiskMining.App"
description = "description"
id = "id"
name = "name"
belongTo = "belongTo"
riskMark = "riskMark"
useCert = "useCert"

def __init__(self):
pass

class Cert:
__typename__ = "RiskMining.Cert"
description = "description"
id = "id"
name = "name"
certNum = "certNum"

def __init__(self):
pass

class Company:
__typename__ = "RiskMining.Company"
description = "description"
id = "id"
name = "name"
hasPhone = "hasPhone"

def __init__(self):
pass

class Device:
__typename__ = "RiskMining.Device"
description = "description"
id = "id"
name = "name"
umid = "umid"
install = "install"

def __init__(self):
pass

class Person:
__typename__ = "RiskMining.Person"
description = "description"
id = "id"
name = "name"
hasPhone = "hasPhone"
age = "age"
belongTo = "belongTo"

def __init__(self):
pass

class TaxOfRiskApp:
__typename__ = "RiskMining.TaxOfRiskApp"
description = "description"
id = "id"
name = "name"
stdId = "stdId"
alias = "alias"

def __init__(self):
pass

class TaxOfRiskUser:
__typename__ = "RiskMining.TaxOfRiskUser"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"

def __init__(self):
pass

class RiskMining:
def __init__(self):
self.App = self.App()
self.Cert = self.Cert()
self.Company = self.Company()
self.Device = self.Device()
self.Person = self.Person()
self.TaxOfRiskApp = self.TaxOfRiskApp()
self.TaxOfRiskUser = self.TaxOfRiskUser()

class App:
__typename__ = "RiskMining.App"
description = "description"
id = "id"
name = "name"
useCert = "useCert"
belongTo = "belongTo"
riskMark = "riskMark"

def __init__(self):
pass

class Cert:
__typename__ = "RiskMining.Cert"
description = "description"
id = "id"
name = "name"
certNum = "certNum"

def __init__(self):
pass

class Company:
__typename__ = "RiskMining.Company"
description = "description"
id = "id"
name = "name"
hasPhone = "hasPhone"

def __init__(self):
pass

class Device:
__typename__ = "RiskMining.Device"
description = "description"
id = "id"
name = "name"
install = "install"
umid = "umid"

def __init__(self):
pass

class Person:
__typename__ = "RiskMining.Person"
description = "description"
id = "id"
name = "name"
hasPhone = "hasPhone"
belongTo = "belongTo"
age = "age"

def __init__(self):
pass

class TaxOfRiskApp:
__typename__ = "RiskMining.TaxOfRiskApp"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"

def __init__(self):
pass

class TaxOfRiskUser:
__typename__ = "RiskMining.TaxOfRiskUser"
description = "description"
id = "id"
name = "name"
alias = "alias"
stdId = "stdId"

def __init__(self):
pass

0 comments on commit 1cde574

Please sign in to comment.