Skip to content

Commit

Permalink
Revert "Annotations to Generate py codes"
Browse files Browse the repository at this point in the history
This reverts commit fa65b3e.
  • Loading branch information
sonalgoyal committed Mar 7, 2024
1 parent c570777 commit 0398394
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 286 deletions.
28 changes: 0 additions & 28 deletions common/client/pom.xml
Expand Up @@ -8,38 +8,10 @@
<artifactId>zingg-common-client</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>zingg</groupId>
<artifactId>zingg-common-py</artifactId>
<version>${zingg.version}</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.source}</target>
<showWarnings>true</showWarnings>

<annotationProcessors>
<annotationProcessor>
zingg.common.py.processors.PythonClassProcessor
</annotationProcessor>
<annotationProcessor>
zingg.common.py.processors.PythonMethodProcessor
</annotationProcessor>
</annotationProcessors>
</configuration>
</plugin>
</plugins>
</build>
</project>
Expand Up @@ -11,16 +11,13 @@
import zingg.common.client.ZFrame;
import zingg.common.client.util.StringRedactor;

import zingg.common.py.annotations.PythonClass;
import zingg.common.py.annotations.PythonMethod;


/**Actual pipe def in the args. One pipe can be used at multiple places with different tables, locations, queries etc
*
* @author sgoyal
*
*/
@PythonClass

@JsonInclude(Include.NON_NULL)
public class Pipe<D,R,C> implements Serializable{ // St:StructType, Sv:SaveMode

Expand Down Expand Up @@ -60,12 +57,12 @@ public void setSchema(String schema) {
this.schema = schema;
}

@PythonMethod

public String getName() {
return name;
}

@PythonMethod

@JsonValue
public void setName(String name) {
this.name = name;
Expand Down
1 change: 0 additions & 1 deletion common/pom.xml
Expand Up @@ -12,6 +12,5 @@
<module>infra</module>
<module>core</module>
<module>client</module>
<module>py</module>
</modules>
</project>
10 changes: 0 additions & 10 deletions common/py/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 0398394

Please sign in to comment.